Skip to content

Commit

Permalink
"use strict" and this (closes #171)
Browse files Browse the repository at this point in the history
  • Loading branch information
ludo committed Aug 11, 2015
1 parent 73690a9 commit 54cf99e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions jquery.treetable.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Dual licensed under the MIT or GPL Version 2 licenses.
*/
(function($) {
"use strict";

var Node, Tree, methods;

Node = (function() {
Expand Down Expand Up @@ -623,7 +625,7 @@
};

// Expose classes to world
this.TreeTable || (this.TreeTable = {});
this.TreeTable.Node = Node;
this.TreeTable.Tree = Tree;
window.TreeTable || (window.TreeTable = {});
window.TreeTable.Node = Node;
window.TreeTable.Tree = Tree;
})(jQuery);

0 comments on commit 54cf99e

Please sign in to comment.