refactoring jquery isolation in shape tracing script

--HG--
branch : 1.x
This commit is contained in:
Dave Reed
2011-03-28 12:14:07 -07:00
parent 930decd725
commit 6bc856ca7b

View File

@@ -1,5 +1,4 @@
(function ($) {
$(document).ready(function () {
jQuery(function($) {
// default shape window height when first opened
var defaultHeight = 200;
@@ -435,8 +434,6 @@
event.stopPropagation();
});
});
// recursively create a node for the shapes tree
function createTreeNode(shapeNode) {
var node = $('<li></li>');
@@ -461,4 +458,4 @@
return node;
}
})(jQuery);
});