mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-11-28 09:22:55 +08:00
refactoring jquery isolation in shape tracing script
--HG-- branch : 1.x
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user