Index: branches/RL2/extensions/Gadgets/modules/jquery.createPropCloud.js |
— | — | @@ -68,18 +68,18 @@ |
69 | 69 | $cloud = $input.wrap( '<div class="' + o.prefix + 'propcloud"></div>' ).parent(), |
70 | 70 | $container = $( '<div class="' + o.prefix + 'propcontainer"></div>' ); |
71 | 71 | |
72 | | - // Append while container is still off the dom |
73 | | - // This is faster and prevents visible build up |
| 72 | + // Append while container is still off the DOM |
| 73 | + // This is faster and prevents visible build-up |
74 | 74 | for ( var i = 0, props = o.props, len = props.length; i < len; i++ ) { |
75 | 75 | $container.append( newPropHtml( '' + props[i], o ) ); |
76 | 76 | } |
77 | 77 | |
78 | 78 | $input.autocomplete( { |
79 | | - // The source is entirly up to you |
| 79 | + // The source is entirely up to you |
80 | 80 | source: o.autocompleteSource, |
81 | 81 | |
82 | 82 | // A value is choosen |
83 | | - // (ie. by pressing return/tab, clicking on suggestion, etc.) |
| 83 | + // (e.g. by pressing return/tab, clicking on suggestion, etc.) |
84 | 84 | select: function( e, data ){ |
85 | 85 | var val = data.item.value; |
86 | 86 | |
Index: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.api.js |
— | — | @@ -20,8 +20,8 @@ |
21 | 21 | |
22 | 22 | /** |
23 | 23 | * For most returns from api.* functions, a clone is made when data from |
24 | | - * cached is used. This is to avoid situations where later modifications |
25 | | - * (ie. by the ajax editor) on the object affecting the cache (because |
| 24 | + * cache is used. This is to avoid situations where later modifications |
| 25 | + * (e.g. by the AJAX editor) to the object affect the cache (because |
26 | 26 | * the object would otherwise be passed by reference). |
27 | 27 | */ |
28 | 28 | function objClone( obj ) { |
— | — | @@ -34,10 +34,10 @@ |
35 | 35 | * var a = { words: [ 'foo', 'bar','baz' ] }; |
36 | 36 | * var b = $.extend( {}, a ); |
37 | 37 | * b.words.push( 'quux' ); |
38 | | - * a.words[4]; // quux ! |
| 38 | + * a.words[3]; // quux ! |
39 | 39 | * </code> |
40 | 40 | */ |
41 | | - return $.extend( true /* resursive */, {}, obj ); |
| 41 | + return $.extend( true /* recursive */, {}, obj ); |
42 | 42 | } |
43 | 43 | function arrClone( arr ) { |
44 | 44 | return arr.slice(); |
— | — | @@ -151,7 +151,7 @@ |
152 | 152 | * - blob {Object} Gadget meta data |
153 | 153 | * @param callback {Function} Called with two arguments: |
154 | 154 | * - status ('ok' or 'error') |
155 | | - * - msg (localized, something like "Successfull", "Conflict occurred" etc.) |
| 155 | + * - msg (localized, something like "Successful", "Conflict occurred" etc.) |
156 | 156 | * @return {jqXHR|Null}: Null if served from cache, otherwise the jqXHR. |
157 | 157 | */ |
158 | 158 | doModifyGadget: function( gadget, callback ) { |
Index: branches/RL2/extensions/Gadgets/modules/ext.gadgets.gadgetmanager.ui.js |
— | — | @@ -117,7 +117,7 @@ |
118 | 118 | |
119 | 119 | gm.ui = { |
120 | 120 | /** |
121 | | - * Initilizes the the page. For now just binding click handlers |
| 121 | + * Initializes the the page. For now just binding click handlers |
122 | 122 | * to the anchor tags in the table. |
123 | 123 | */ |
124 | 124 | initUI: function() { |