From ef76066cc5df2bc41468ec1511b309eabf9b368f Mon Sep 17 00:00:00 2001 From: RubaXa Date: Thu, 12 Feb 2015 18:36:45 +0300 Subject: [PATCH] * relative path --- ng-sortable.js | 2 +- react-sortable-mixin.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 */