|
105 | 105 | * In most cases, you are unnecessary to use this function , unlike Mobilebone.createPage
|
106 | 106 |
|
107 | 107 | * @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 |
110 | 110 | options: object. Cover or add parameters. - Optional
|
111 | 111 | * @returns undefined
|
112 | 112 | * @example Mobilebone.transition(element);
|
|
297 | 297 |
|
298 | 298 | * @params trigger: dom-object. element with tag-"a". - Optional(at least one)
|
299 | 299 | url: string. ajax url. - Optional(at least one)
|
300 |
| - params: string|opject. ajax params. - Optional |
| 300 | + params: string|object. ajax params. - Optional |
301 | 301 | * @returns string
|
302 | 302 | * @example Mobilebone.getCleanUrl(elementOfA);
|
303 | 303 | Mobilebone.getCleanUrl(elementOfA, '', "a=1&b=2");
|
|
366 | 366 | Mobilebone.createPage('<div class="page out">xxx</div>');
|
367 | 367 | Mobilebone.createPage('<p>xxx</p>');
|
368 | 368 | 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...>' }); |
371 | 371 | *
|
372 | 372 | **/
|
373 | 373 | Mobilebone.createPage = function(dom_or_html, element_or_options, options) {
|
|
435 | 435 | * @params keys: string. - Necessary
|
436 | 436 | * @returns function
|
437 | 437 | undefined keys is not string
|
438 |
| - window keys unfinded |
| 438 | + window keys undefined |
439 | 439 | * @example Mobilebone.getFunction("a.b.c");
|
440 | 440 | *
|
441 | 441 | **/
|
|
817 | 817 | return element;
|
818 | 818 | };
|
819 | 819 | /**
|
820 |
| - * privite method: convert query string to key-value object |
| 820 | + * private method: convert query string to key-value object |
821 | 821 | **/
|
822 | 822 | var _queryToObject = function(string) {
|
823 | 823 | var obj = {};
|
|
0 commit comments