diff --git a/ng-sortable.js b/ng-sortable.js index bef396c..a872561 100644 --- a/ng-sortable.js +++ b/ng-sortable.js @@ -9,7 +9,7 @@ factory(angular, Sortable); } else if (typeof define === 'function' && define.amd) { - define(['angular', 'sortable'], factory); + define(['angular', './Sortable'], factory); } })(function (angular, Sortable) { 'use strict'; diff --git a/react-sortable-mixin.js b/react-sortable-mixin.js index 2cb2cb4..47d1c36 100644 --- a/react-sortable-mixin.js +++ b/react-sortable-mixin.js @@ -7,10 +7,10 @@ 'use strict'; if (typeof module != 'undefined' && typeof module.exports != 'undefined') { - module.exports = factory(require('Sortable')); + module.exports = factory(require('./Sortable')); } else if (typeof define === 'function' && define.amd) { - define(['sortable'], factory); + define(['./Sortable'], factory); } else { /* jshint sub:true */