aboutsummaryrefslogtreecommitdiff
path: root/js/lib
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-23 01:52:34 -0800
committerValerio Virgillito2012-02-23 01:52:34 -0800
commitaaa8d05cc3cfd94322d356e265b94b0abb9f6305 (patch)
tree08cec1e25449d68c9a878d316965f216f33a8fae /js/lib
parent31d73bccdda6145c6bbb5c25f6db3e139fcb9e6c (diff)
downloadninja-aaa8d05cc3cfd94322d356e265b94b0abb9f6305.tar.gz
renaming makeElementModel2 to makeModelFromElement
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/lib')
-rwxr-xr-xjs/lib/NJUtils.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js
index 887743c5..e16715a4 100755
--- a/js/lib/NJUtils.js
+++ b/js/lib/NJUtils.js
@@ -113,8 +113,8 @@ exports.NJUtils = Object.create(Object.prototype, {
113 }, 113 },
114 114
115 ///// Element Model creation for existing elements based on element type. 115 ///// Element Model creation for existing elements based on element type.
116 ///// TODO: find a different place for this function and return different element models based on type. 116 ///// TODO: Selection and model should be based on the element type
117 makeElementModel2: { 117 makeModelFromElement: {
118 value: function(el) { 118 value: function(el) {
119 this.makeElementModel(el, "Div", "block", false); 119 this.makeElementModel(el, "Div", "block", false);
120 } 120 }