summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-12-10 21:26:59 +0400
committerAndrew Dolgov <[email protected]>2011-12-10 21:26:59 +0400
commite331188f761669785024bc0f76debb904a1b6210 (patch)
tree48540667378300f0129fa7657170e316d22ca744 /lib
parente6f1a1b747fd2e77c910dc048cb44ca622da4a79 (diff)
misc typo fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/CheckBoxTree.js4
-rw-r--r--lib/position.js6
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/CheckBoxTree.js b/lib/CheckBoxTree.js
index 3e4081909..48cfbae9a 100644
--- a/lib/CheckBoxTree.js
+++ b/lib/CheckBoxTree.js
@@ -131,7 +131,7 @@ dojo.declare( "lib.CheckBoxStoreModel", dijit.tree.TreeStoreModel,
currState = this.checkboxState;
}
- return currState // the current state of the checkbox (true/false or undefined)
+ return currState; // the current state of the checkbox (true/false or undefined)
},
_setCheckboxState: function(/*dojo.data.Item*/ storeItem, /*Boolean*/ newState ) {
@@ -277,7 +277,7 @@ dojo.declare( "lib.CheckBoxStoreModel", dijit.tree.TreeStoreModel,
parents.push(this.root);
}
}
- return parents // parent(s) of a dojo.data.item (Array of dojo.data.items)
+ return parents; // parent(s) of a dojo.data.item (Array of dojo.data.items)
},
validateData: function(/*dojo.data.Item*/ storeItem, /*thisObject*/ scope ) {
diff --git a/lib/position.js b/lib/position.js
index 29bb9a5ca..43ea85f76 100644
--- a/lib/position.js
+++ b/lib/position.js
@@ -4,8 +4,8 @@ Position.GetWindowSize = function(w) {
w = w ? w : window;
var width = w.innerWidth || (w.document.documentElement.clientWidth || w.document.body.clientWidth);
var height = w.innerHeight || (w.document.documentElement.clientHeight || w.document.body.clientHeight);
- return [width, height]
-}
+ return [width, height];
+};
/* http://textsnippets.com/posts/show/836 */
@@ -25,7 +25,7 @@ Position.Center = function(element, parent) {
}
element.style.top = (ph/2) - (h/2) - Position.deltaY + "px";
element.style.left = (pw/2) - (w/2) - Position.deltaX + "px";
-}
+};