Skip to content
This repository was archived by the owner on Sep 8, 2020. It is now read-only.

Commit 0311efe

Browse files
author
AngularUI (via TravisCI)
committed
Travis commit : build 399
1 parent a2e6128 commit 0311efe

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-ui-sortable",
3-
"version": "0.13.3",
3+
"version": "0.13.4",
44
"main": ["./sortable.js"],
55
"dependencies": {
66
"angular": ">=1.2.x",

sortable.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
/**
2+
* angular-ui-sortable - This directive allows you to jQueryUI Sortable.
3+
* @version v0.13.4 - 2015-06-07
4+
* @link http://angular-ui.github.com
5+
* @license MIT
6+
*/
7+
18
(function(window, angular, undefined) {
29
'use strict';
310
/*
@@ -21,9 +28,9 @@ angular.module('ui.sortable', [])
2128

2229
function combineCallbacks(first,second){
2330
if(second && (typeof second === 'function')) {
24-
return function(e, ui) {
25-
first(e, ui);
26-
second(e, ui);
31+
return function() {
32+
first.apply(this, arguments);
33+
second.apply(this, arguments);
2734
};
2835
}
2936
return first;
@@ -288,7 +295,7 @@ angular.module('ui.sortable', [])
288295
wrappers.helper = function (inner) {
289296
if (inner && typeof inner === 'function') {
290297
return function (e, item) {
291-
var innerResult = inner(e, item);
298+
var innerResult = inner.apply(this, arguments);
292299
item.sortable._isCustomHelperUsed = item !== innerResult;
293300
return innerResult;
294301
};
@@ -351,4 +358,4 @@ angular.module('ui.sortable', [])
351358
}
352359
]);
353360

354-
})(window, window.angular);
361+
})(window, window.angular);

sortable.min.js

Lines changed: 8 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)