Skip to content

Commit 038298f

Browse files
committed
proper way of initializing jQuery
1 parent 5e0292b commit 038298f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/angular-dragdrop.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* (c) 2013 Amit Gharat a.k.a codef0rmer <[email protected]> - amitgharat.wordpress.com
2828
*/
2929

30-
(function (window, angular, undefined) {
30+
(function ($,window, angular, undefined) {
3131
'use strict';
3232

3333
var jqyoui = angular.module('ngDragDrop', []).service('ngDragDropService', ['$timeout', '$parse', function($timeout, $parse) {
@@ -326,4 +326,4 @@ var jqyoui = angular.module('ngDragDrop', []).service('ngDragDropService', ['$ti
326326

327327
return element.getAttribute(name) || element.getAttribute('data-' + name);
328328
};
329-
})(window, window.angular);
329+
})(jQuery,window, window.angular);

0 commit comments

Comments
 (0)