Skip to content

Commit 717e9e7

Browse files
committed
Merge pull request #18 from woaixiangbao/master
检查出几个单词拼写错误
2 parents 388ed37 + 98106c7 commit 717e9e7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/mobilebone.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,8 @@
105105
* In most cases, you are unnecessary to use this function , unlike Mobilebone.createPage
106106
107107
* @params pageInto: dom-object. Element which will transform into. - Necessary
108-
pageOut: dom-object. Elementwhich will transform out. - Optional
109-
back: boolean. Direction of tranisition. - Optional
108+
pageOut: dom-object. Element which will transform out. - Optional
109+
back: boolean. Direction of transition. - Optional
110110
options: object. Cover or add parameters. - Optional
111111
* @returns undefined
112112
* @example Mobilebone.transition(element);
@@ -297,7 +297,7 @@
297297
298298
* @params trigger: dom-object. element with tag-"a". - Optional(at least one)
299299
url: string. ajax url. - Optional(at least one)
300-
params: string|opject. ajax params. - Optional
300+
params: string|object. ajax params. - Optional
301301
* @returns string
302302
* @example Mobilebone.getCleanUrl(elementOfA);
303303
Mobilebone.getCleanUrl(elementOfA, '', "a=1&b=2");
@@ -366,8 +366,8 @@
366366
Mobilebone.createPage('<div class="page out">xxx</div>');
367367
Mobilebone.createPage('<p>xxx</p>');
368368
Mobilebone.createPage(pageDom, triggerLink);
369-
Mobilebone.createPage(pageDom, { reponse: '<div...>' });
370-
Mobilebone.createPage(pageDom, triggerLink, { reponse: '<div...>' });
369+
Mobilebone.createPage(pageDom, { response: '<div...>' });
370+
Mobilebone.createPage(pageDom, triggerLink, { response: '<div...>' });
371371
*
372372
**/
373373
Mobilebone.createPage = function(dom_or_html, element_or_options, options) {
@@ -435,7 +435,7 @@
435435
* @params keys: string. - Necessary
436436
* @returns function
437437
undefined keys is not string
438-
window keys unfinded
438+
window keys undefined
439439
* @example Mobilebone.getFunction("a.b.c");
440440
*
441441
**/
@@ -817,7 +817,7 @@
817817
return element;
818818
};
819819
/**
820-
* privite method: convert query string to key-value object
820+
* private method: convert query string to key-value object
821821
**/
822822
var _queryToObject = function(string) {
823823
var obj = {};

0 commit comments

Comments
 (0)