Skip to content

Commit 7aebcaa

Browse files
committed
Optimized widget wrapper
1 parent 1a8954a commit 7aebcaa

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
/.project
33
/node_modules
44
.DS_Store
5+
npm-debug.log

Gruntfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ module.exports = function (grunt) {
1010
tabfix: {
1111
// Cleanup whitespace according to http://contribute.jquery.org/style-guide/js/
1212
// (requires https://github.com/mar10/tabfix)
13-
cmd: "tabfix -t --line=UNIX -r -m *.js,*.css,*.html,*json,*.yaml -i node_modules ."
13+
// cmd: "tabfix -t --line=UNIX -r -m *.js,*.css,*.html,*json,*.yaml -i node_modules ."
14+
cmd: "tabfix -t -r -m *.js,*.css,*.html,*json,*.yaml -i node_modules ."
1415
},
1516
upload: {
1617
// FTP upload the demo files (requires https://github.com/mar10/pyftpsync)

jquery.ui-contextmenu.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,7 @@
77
*
88
* Copyright (c) 2013, Martin Wendt (http://wwWendt.de). Licensed MIT.
99
*/
10-
11-
/*
12-
* TODO:
13-
* - change namespace to 'moogle'
14-
*/
15-
(function ($) {
10+
;(function($, window, document, undefined) {
1611
var supportSelectstart = "onselectstart" in document.createElement("div");
1712

1813
/** Return command without leading '#' (default to ""). */
@@ -313,4 +308,4 @@ $.extend($.ui.contextmenu, {
313308
}
314309
});
315310

316-
} (jQuery));
311+
}(jQuery, window, document));

0 commit comments

Comments
 (0)