Skip to content

Commit a4f3baf

Browse files
committed
update dist
1 parent 69fcfe4 commit a4f3baf

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

dist/jquery.gridster.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! gridster.js - v0.5.1 - 2014-03-13
1+
/*! gridster.js - v0.5.1 - 2014-03-26
22
* http://gridster.net/
33
* Copyright (c) 2014 ducksboard; Licensed MIT */
44

dist/jquery.gridster.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! gridster.js - v0.5.1 - 2014-03-13
1+
/*! gridster.js - v0.5.1 - 2014-03-26
22
* http://gridster.net/
33
* Copyright (c) 2014 ducksboard; Licensed MIT */
44

@@ -415,7 +415,7 @@
415415
limit: true,
416416
offset_left: 0,
417417
autoscroll: true,
418-
ignore_dragging: ['INPUT', 'TEXTAREA', 'SELECT', 'BUTTON'],
418+
ignore_dragging: ['INPUT', 'TEXTAREA', 'SELECT', 'BUTTON'], // or function
419419
handle: null,
420420
container_width: 0, // 0 == auto
421421
move_element: true,
@@ -788,6 +788,10 @@
788788
return !$(event.target).is(this.options.handle);
789789
}
790790

791+
if ($.isFunction(this.options.ignore_dragging)) {
792+
return this.options.ignore_dragging(event);
793+
}
794+
791795
return $(event.target).is(this.options.ignore_dragging.join(', '));
792796
};
793797

dist/jquery.gridster.min.css

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

dist/jquery.gridster.min.js

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

dist/jquery.gridster.with-extras.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! gridster.js - v0.5.1 - 2014-03-13
1+
/*! gridster.js - v0.5.1 - 2014-03-26
22
* http://gridster.net/
33
* Copyright (c) 2014 ducksboard; Licensed MIT */
44

@@ -415,7 +415,7 @@
415415
limit: true,
416416
offset_left: 0,
417417
autoscroll: true,
418-
ignore_dragging: ['INPUT', 'TEXTAREA', 'SELECT', 'BUTTON'],
418+
ignore_dragging: ['INPUT', 'TEXTAREA', 'SELECT', 'BUTTON'], // or function
419419
handle: null,
420420
container_width: 0, // 0 == auto
421421
move_element: true,
@@ -788,6 +788,10 @@
788788
return !$(event.target).is(this.options.handle);
789789
}
790790

791+
if ($.isFunction(this.options.ignore_dragging)) {
792+
return this.options.ignore_dragging(event);
793+
}
794+
791795
return $(event.target).is(this.options.ignore_dragging.join(', '));
792796
};
793797

dist/jquery.gridster.with-extras.min.js

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

0 commit comments

Comments
 (0)