Skip to content
This repository was archived by the owner on Mar 10, 2024. It is now read-only.

Add CommonJS bundle support #301

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion angular-drag-and-drop-lists.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@
*
* License: MIT
*/
angular.module('dndLists', [])
if (typeof module !== "undefined" && typeof exports !== "undefined" && module.exports === exports) {
module.exports = "dndLists";
}
(function(angular){

angular.module('dndLists', [])
/**
* Use the dnd-draggable attribute to make your element draggable
*
Expand Down Expand Up @@ -588,3 +592,4 @@ angular.module('dndLists', [])
* https://code.google.com/p/chromium/issues/detail?id=39399
*/
.factory('dndDropEffectWorkaround', function(){ return {} });
})(angular);
44 changes: 22 additions & 22 deletions angular-drag-and-drop-lists.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.