h2ocube_rails_assets 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/README.md +1 -1
  2. data/h2ocube_rails_assets.gemspec +2 -2
  3. data/lib/h2ocube_rails_assets.rb +1 -4
  4. data/vendor/assets/images/jquery.ui/animated-overlay.gif +0 -0
  5. data/vendor/assets/images/jquery.ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  6. data/vendor/assets/images/jquery.ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
  7. data/vendor/assets/images/jquery.ui/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  8. data/vendor/assets/images/jquery.ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
  9. data/vendor/assets/images/jquery.ui/ui-bg_glass_75_dadada_1x400.png +0 -0
  10. data/vendor/assets/images/jquery.ui/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  11. data/vendor/assets/images/jquery.ui/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  12. data/vendor/assets/images/jquery.ui/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  13. data/vendor/assets/images/jquery.ui/ui-icons_222222_256x240.png +0 -0
  14. data/vendor/assets/images/jquery.ui/ui-icons_2e83ff_256x240.png +0 -0
  15. data/vendor/assets/images/jquery.ui/ui-icons_454545_256x240.png +0 -0
  16. data/vendor/assets/images/jquery.ui/ui-icons_888888_256x240.png +0 -0
  17. data/vendor/assets/images/jquery.ui/ui-icons_cd0a0a_256x240.png +0 -0
  18. data/vendor/assets/javascripts/_bootstrap.js +189 -80
  19. data/vendor/assets/javascripts/_jquery.fancybox.js +1983 -0
  20. data/vendor/assets/javascripts/_jquery.fileupload.js +1164 -0
  21. data/vendor/assets/javascripts/_jquery.js +1 -1
  22. data/vendor/assets/javascripts/{jquery.ui/jquery-ui.custom.js → _jquery.ui.js} +3717 -3693
  23. data/vendor/assets/javascripts/_jquery.validate.js +1207 -0
  24. data/vendor/assets/javascripts/_sammy.js +2120 -0
  25. data/vendor/assets/javascripts/jquery/1.9.js +229 -187
  26. data/vendor/assets/javascripts/jquery.cookie.js +29 -11
  27. data/vendor/assets/javascripts/jquery.fancybox.js +2 -1985
  28. data/vendor/assets/javascripts/jquery.fileupload.js +4 -1114
  29. data/vendor/assets/javascripts/jquery.iframe-transport.js +20 -7
  30. data/vendor/assets/javascripts/jquery.ui/jquery.ui.accordion.js +131 -290
  31. data/vendor/assets/javascripts/jquery.ui/jquery.ui.autocomplete.js +43 -37
  32. data/vendor/assets/javascripts/jquery.ui/jquery.ui.button.js +9 -8
  33. data/vendor/assets/javascripts/jquery.ui/jquery.ui.core.js +19 -51
  34. data/vendor/assets/javascripts/jquery.ui/jquery.ui.datepicker.js +1082 -878
  35. data/vendor/assets/javascripts/jquery.ui/jquery.ui.dialog.js +483 -542
  36. data/vendor/assets/javascripts/jquery.ui/jquery.ui.draggable.js +319 -212
  37. data/vendor/assets/javascripts/jquery.ui/jquery.ui.droppable.js +177 -100
  38. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-blind.js +2 -2
  39. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-bounce.js +2 -2
  40. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-clip.js +2 -2
  41. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-drop.js +2 -2
  42. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-explode.js +2 -2
  43. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fade.js +2 -2
  44. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-fold.js +2 -2
  45. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-highlight.js +2 -2
  46. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-pulsate.js +2 -2
  47. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-scale.js +2 -2
  48. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-shake.js +2 -2
  49. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-slide.js +2 -2
  50. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect-transfer.js +3 -3
  51. data/vendor/assets/javascripts/jquery.ui/jquery.ui.effect.js +93 -101
  52. data/vendor/assets/javascripts/jquery.ui/jquery.ui.menu.js +21 -10
  53. data/vendor/assets/javascripts/jquery.ui/jquery.ui.mouse.js +25 -25
  54. data/vendor/assets/javascripts/jquery.ui/jquery.ui.position.js +42 -62
  55. data/vendor/assets/javascripts/jquery.ui/jquery.ui.progressbar.js +73 -33
  56. data/vendor/assets/javascripts/jquery.ui/jquery.ui.resizable.js +461 -294
  57. data/vendor/assets/javascripts/jquery.ui/jquery.ui.selectable.js +67 -51
  58. data/vendor/assets/javascripts/jquery.ui/jquery.ui.slider.js +179 -151
  59. data/vendor/assets/javascripts/jquery.ui/jquery.ui.sortable.js +411 -257
  60. data/vendor/assets/javascripts/jquery.ui/jquery.ui.spinner.js +19 -5
  61. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tabs.js +47 -567
  62. data/vendor/assets/javascripts/jquery.ui/jquery.ui.tooltip.js +14 -10
  63. data/vendor/assets/javascripts/jquery.ui/jquery.ui.widget.js +33 -40
  64. data/vendor/assets/javascripts/jquery.ui.js +1 -1
  65. data/vendor/assets/javascripts/jquery.validate.js +1 -1258
  66. data/vendor/assets/javascripts/sammy.js +1 -2107
  67. data/vendor/assets/javascripts/underscore.js +101 -75
  68. data/vendor/assets/stylesheets/bootstrap.responsive.css +24 -7
  69. data/vendor/assets/stylesheets/bootstrap.scss +238 -119
  70. data/vendor/assets/stylesheets/jquery.fancybox.scss +6 -6
  71. data/vendor/assets/stylesheets/jquery.ui.scss +918 -217
  72. data/vendor/assets/stylesheets/normalize.css +396 -0
  73. metadata +16 -20
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Droppable 1.9.2
2
+ * jQuery UI Droppable 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -16,22 +16,36 @@
16
16
  */
17
17
  (function( $, undefined ) {
18
18
 
19
+ function isOverAxis( x, reference, size ) {
20
+ return ( x > reference ) && ( x < ( reference + size ) );
21
+ }
22
+
19
23
  $.widget("ui.droppable", {
20
- version: "1.9.2",
24
+ version: "1.10.1",
21
25
  widgetEventPrefix: "drop",
22
26
  options: {
23
- accept: '*',
27
+ accept: "*",
24
28
  activeClass: false,
25
29
  addClasses: true,
26
30
  greedy: false,
27
31
  hoverClass: false,
28
- scope: 'default',
29
- tolerance: 'intersect'
32
+ scope: "default",
33
+ tolerance: "intersect",
34
+
35
+ // callbacks
36
+ activate: null,
37
+ deactivate: null,
38
+ drop: null,
39
+ out: null,
40
+ over: null
30
41
  },
31
42
  _create: function() {
32
43
 
33
- var o = this.options, accept = o.accept;
34
- this.isover = 0; this.isout = 1;
44
+ var o = this.options,
45
+ accept = o.accept;
46
+
47
+ this.isover = false;
48
+ this.isout = true;
35
49
 
36
50
  this.accept = $.isFunction(accept) ? accept : function(d) {
37
51
  return d.is(accept);
@@ -49,17 +63,21 @@ $.widget("ui.droppable", {
49
63
  },
50
64
 
51
65
  _destroy: function() {
52
- var drop = $.ui.ddmanager.droppables[this.options.scope];
53
- for ( var i = 0; i < drop.length; i++ )
54
- if ( drop[i] == this )
66
+ var i = 0,
67
+ drop = $.ui.ddmanager.droppables[this.options.scope];
68
+
69
+ for ( ; i < drop.length; i++ ) {
70
+ if ( drop[i] === this ) {
55
71
  drop.splice(i, 1);
72
+ }
73
+ }
56
74
 
57
75
  this.element.removeClass("ui-droppable ui-droppable-disabled");
58
76
  },
59
77
 
60
78
  _setOption: function(key, value) {
61
79
 
62
- if(key == 'accept') {
80
+ if(key === "accept") {
63
81
  this.accept = $.isFunction(value) ? value : function(d) {
64
82
  return d.is(value);
65
83
  };
@@ -69,24 +87,38 @@ $.widget("ui.droppable", {
69
87
 
70
88
  _activate: function(event) {
71
89
  var draggable = $.ui.ddmanager.current;
72
- if(this.options.activeClass) this.element.addClass(this.options.activeClass);
73
- (draggable && this._trigger('activate', event, this.ui(draggable)));
90
+ if(this.options.activeClass) {
91
+ this.element.addClass(this.options.activeClass);
92
+ }
93
+ if(draggable){
94
+ this._trigger("activate", event, this.ui(draggable));
95
+ }
74
96
  },
75
97
 
76
98
  _deactivate: function(event) {
77
99
  var draggable = $.ui.ddmanager.current;
78
- if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
79
- (draggable && this._trigger('deactivate', event, this.ui(draggable)));
100
+ if(this.options.activeClass) {
101
+ this.element.removeClass(this.options.activeClass);
102
+ }
103
+ if(draggable){
104
+ this._trigger("deactivate", event, this.ui(draggable));
105
+ }
80
106
  },
81
107
 
82
108
  _over: function(event) {
83
109
 
84
110
  var draggable = $.ui.ddmanager.current;
85
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
111
+
112
+ // Bail if draggable and droppable are same element
113
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
114
+ return;
115
+ }
86
116
 
87
117
  if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
88
- if(this.options.hoverClass) this.element.addClass(this.options.hoverClass);
89
- this._trigger('over', event, this.ui(draggable));
118
+ if(this.options.hoverClass) {
119
+ this.element.addClass(this.options.hoverClass);
120
+ }
121
+ this._trigger("over", event, this.ui(draggable));
90
122
  }
91
123
 
92
124
  },
@@ -94,37 +126,53 @@ $.widget("ui.droppable", {
94
126
  _out: function(event) {
95
127
 
96
128
  var draggable = $.ui.ddmanager.current;
97
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return; // Bail if draggable and droppable are same element
129
+
130
+ // Bail if draggable and droppable are same element
131
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
132
+ return;
133
+ }
98
134
 
99
135
  if (this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
100
- if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
101
- this._trigger('out', event, this.ui(draggable));
136
+ if(this.options.hoverClass) {
137
+ this.element.removeClass(this.options.hoverClass);
138
+ }
139
+ this._trigger("out", event, this.ui(draggable));
102
140
  }
103
141
 
104
142
  },
105
143
 
106
144
  _drop: function(event,custom) {
107
145
 
108
- var draggable = custom || $.ui.ddmanager.current;
109
- if (!draggable || (draggable.currentItem || draggable.element)[0] == this.element[0]) return false; // Bail if draggable and droppable are same element
146
+ var draggable = custom || $.ui.ddmanager.current,
147
+ childrenIntersection = false;
110
148
 
111
- var childrenIntersection = false;
112
- this.element.find(":data(droppable)").not(".ui-draggable-dragging").each(function() {
113
- var inst = $.data(this, 'droppable');
149
+ // Bail if draggable and droppable are same element
150
+ if (!draggable || (draggable.currentItem || draggable.element)[0] === this.element[0]) {
151
+ return false;
152
+ }
153
+
154
+ this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function() {
155
+ var inst = $.data(this, "ui-droppable");
114
156
  if(
115
- inst.options.greedy
116
- && !inst.options.disabled
117
- && inst.options.scope == draggable.options.scope
118
- && inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element))
119
- && $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
157
+ inst.options.greedy &&
158
+ !inst.options.disabled &&
159
+ inst.options.scope === draggable.options.scope &&
160
+ inst.accept.call(inst.element[0], (draggable.currentItem || draggable.element)) &&
161
+ $.ui.intersect(draggable, $.extend(inst, { offset: inst.element.offset() }), inst.options.tolerance)
120
162
  ) { childrenIntersection = true; return false; }
121
163
  });
122
- if(childrenIntersection) return false;
164
+ if(childrenIntersection) {
165
+ return false;
166
+ }
123
167
 
124
168
  if(this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
125
- if(this.options.activeClass) this.element.removeClass(this.options.activeClass);
126
- if(this.options.hoverClass) this.element.removeClass(this.options.hoverClass);
127
- this._trigger('drop', event, this.ui(draggable));
169
+ if(this.options.activeClass) {
170
+ this.element.removeClass(this.options.activeClass);
171
+ }
172
+ if(this.options.hoverClass) {
173
+ this.element.removeClass(this.options.hoverClass);
174
+ }
175
+ this._trigger("drop", event, this.ui(draggable));
128
176
  return this.element;
129
177
  }
130
178
 
@@ -145,44 +193,40 @@ $.widget("ui.droppable", {
145
193
 
146
194
  $.ui.intersect = function(draggable, droppable, toleranceMode) {
147
195
 
148
- if (!droppable.offset) return false;
196
+ if (!droppable.offset) {
197
+ return false;
198
+ }
149
199
 
150
- var x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
151
- y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height;
152
- var l = droppable.offset.left, r = l + droppable.proportions.width,
200
+ var draggableLeft, draggableTop,
201
+ x1 = (draggable.positionAbs || draggable.position.absolute).left, x2 = x1 + draggable.helperProportions.width,
202
+ y1 = (draggable.positionAbs || draggable.position.absolute).top, y2 = y1 + draggable.helperProportions.height,
203
+ l = droppable.offset.left, r = l + droppable.proportions.width,
153
204
  t = droppable.offset.top, b = t + droppable.proportions.height;
154
205
 
155
206
  switch (toleranceMode) {
156
- case 'fit':
157
- return (l <= x1 && x2 <= r
158
- && t <= y1 && y2 <= b);
159
- break;
160
- case 'intersect':
161
- return (l < x1 + (draggable.helperProportions.width / 2) // Right Half
162
- && x2 - (draggable.helperProportions.width / 2) < r // Left Half
163
- && t < y1 + (draggable.helperProportions.height / 2) // Bottom Half
164
- && y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
165
- break;
166
- case 'pointer':
167
- var draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left),
168
- draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top),
169
- isOver = $.ui.isOver(draggableTop, draggableLeft, t, l, droppable.proportions.height, droppable.proportions.width);
170
- return isOver;
171
- break;
172
- case 'touch':
207
+ case "fit":
208
+ return (l <= x1 && x2 <= r && t <= y1 && y2 <= b);
209
+ case "intersect":
210
+ return (l < x1 + (draggable.helperProportions.width / 2) && // Right Half
211
+ x2 - (draggable.helperProportions.width / 2) < r && // Left Half
212
+ t < y1 + (draggable.helperProportions.height / 2) && // Bottom Half
213
+ y2 - (draggable.helperProportions.height / 2) < b ); // Top Half
214
+ case "pointer":
215
+ draggableLeft = ((draggable.positionAbs || draggable.position.absolute).left + (draggable.clickOffset || draggable.offset.click).left);
216
+ draggableTop = ((draggable.positionAbs || draggable.position.absolute).top + (draggable.clickOffset || draggable.offset.click).top);
217
+ return isOverAxis( draggableTop, t, droppable.proportions.height ) && isOverAxis( draggableLeft, l, droppable.proportions.width );
218
+ case "touch":
173
219
  return (
174
- (y1 >= t && y1 <= b) || // Top edge touching
175
- (y2 >= t && y2 <= b) || // Bottom edge touching
176
- (y1 < t && y2 > b) // Surrounded vertically
177
- ) && (
178
- (x1 >= l && x1 <= r) || // Left edge touching
179
- (x2 >= l && x2 <= r) || // Right edge touching
180
- (x1 < l && x2 > r) // Surrounded horizontally
181
- );
182
- break;
220
+ (y1 >= t && y1 <= b) || // Top edge touching
221
+ (y2 >= t && y2 <= b) || // Bottom edge touching
222
+ (y1 < t && y2 > b) // Surrounded vertically
223
+ ) && (
224
+ (x1 >= l && x1 <= r) || // Left edge touching
225
+ (x2 >= l && x2 <= r) || // Right edge touching
226
+ (x1 < l && x2 > r) // Surrounded horizontally
227
+ );
183
228
  default:
184
229
  return false;
185
- break;
186
230
  }
187
231
 
188
232
  };
@@ -192,20 +236,38 @@ $.ui.intersect = function(draggable, droppable, toleranceMode) {
192
236
  */
193
237
  $.ui.ddmanager = {
194
238
  current: null,
195
- droppables: { 'default': [] },
239
+ droppables: { "default": [] },
196
240
  prepareOffsets: function(t, event) {
197
241
 
198
- var m = $.ui.ddmanager.droppables[t.options.scope] || [];
199
- var type = event ? event.type : null; // workaround for #2317
200
- var list = (t.currentItem || t.element).find(":data(droppable)").andSelf();
242
+ var i, j,
243
+ m = $.ui.ddmanager.droppables[t.options.scope] || [],
244
+ type = event ? event.type : null, // workaround for #2317
245
+ list = (t.currentItem || t.element).find(":data(ui-droppable)").addBack();
201
246
 
202
- droppablesLoop: for (var i = 0; i < m.length; i++) {
247
+ droppablesLoop: for (i = 0; i < m.length; i++) {
203
248
 
204
- if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) continue; //No disabled and non-accepted
205
- for (var j=0; j < list.length; j++) { if(list[j] == m[i].element[0]) { m[i].proportions.height = 0; continue droppablesLoop; } }; //Filter out elements in the current dragged item
206
- m[i].visible = m[i].element.css("display") != "none"; if(!m[i].visible) continue; //If the element is not visible, continue
249
+ //No disabled and non-accepted
250
+ if(m[i].options.disabled || (t && !m[i].accept.call(m[i].element[0],(t.currentItem || t.element)))) {
251
+ continue;
252
+ }
207
253
 
208
- if(type == "mousedown") m[i]._activate.call(m[i], event); //Activate the droppable if used directly from draggables
254
+ // Filter out elements in the current dragged item
255
+ for (j=0; j < list.length; j++) {
256
+ if(list[j] === m[i].element[0]) {
257
+ m[i].proportions.height = 0;
258
+ continue droppablesLoop;
259
+ }
260
+ }
261
+
262
+ m[i].visible = m[i].element.css("display") !== "none";
263
+ if(!m[i].visible) {
264
+ continue;
265
+ }
266
+
267
+ //Activate the droppable if used directly from draggables
268
+ if(type === "mousedown") {
269
+ m[i]._activate.call(m[i], event);
270
+ }
209
271
 
210
272
  m[i].offset = m[i].element.offset();
211
273
  m[i].proportions = { width: m[i].element[0].offsetWidth, height: m[i].element[0].offsetHeight };
@@ -218,12 +280,16 @@ $.ui.ddmanager = {
218
280
  var dropped = false;
219
281
  $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
220
282
 
221
- if(!this.options) return;
222
- if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance))
283
+ if(!this.options) {
284
+ return;
285
+ }
286
+ if (!this.options.disabled && this.visible && $.ui.intersect(draggable, this, this.options.tolerance)) {
223
287
  dropped = this._drop.call(this, event) || dropped;
288
+ }
224
289
 
225
290
  if (!this.options.disabled && this.visible && this.accept.call(this.element[0],(draggable.currentItem || draggable.element))) {
226
- this.isout = 1; this.isover = 0;
291
+ this.isout = true;
292
+ this.isover = false;
227
293
  this._deactivate.call(this, event);
228
294
  }
229
295
 
@@ -234,51 +300,60 @@ $.ui.ddmanager = {
234
300
  dragStart: function( draggable, event ) {
235
301
  //Listen for scrolling so that if the dragging causes scrolling the position of the droppables can be recalculated (see #5003)
236
302
  draggable.element.parentsUntil( "body" ).bind( "scroll.droppable", function() {
237
- if( !draggable.options.refreshPositions ) $.ui.ddmanager.prepareOffsets( draggable, event );
303
+ if( !draggable.options.refreshPositions ) {
304
+ $.ui.ddmanager.prepareOffsets( draggable, event );
305
+ }
238
306
  });
239
307
  },
240
308
  drag: function(draggable, event) {
241
309
 
242
310
  //If you have a highly dynamic page, you might try this option. It renders positions every time you move the mouse.
243
- if(draggable.options.refreshPositions) $.ui.ddmanager.prepareOffsets(draggable, event);
311
+ if(draggable.options.refreshPositions) {
312
+ $.ui.ddmanager.prepareOffsets(draggable, event);
313
+ }
244
314
 
245
315
  //Run through all droppables and check their positions based on specific tolerance options
246
316
  $.each($.ui.ddmanager.droppables[draggable.options.scope] || [], function() {
247
317
 
248
- if(this.options.disabled || this.greedyChild || !this.visible) return;
249
- var intersects = $.ui.intersect(draggable, this, this.options.tolerance);
318
+ if(this.options.disabled || this.greedyChild || !this.visible) {
319
+ return;
320
+ }
250
321
 
251
- var c = !intersects && this.isover == 1 ? 'isout' : (intersects && this.isover == 0 ? 'isover' : null);
252
- if(!c) return;
322
+ var parentInstance, scope, parent,
323
+ intersects = $.ui.intersect(draggable, this, this.options.tolerance),
324
+ c = !intersects && this.isover ? "isout" : (intersects && !this.isover ? "isover" : null);
325
+ if(!c) {
326
+ return;
327
+ }
253
328
 
254
- var parentInstance;
255
329
  if (this.options.greedy) {
256
330
  // find droppable parents with same scope
257
- var scope = this.options.scope;
258
- var parent = this.element.parents(':data(droppable)').filter(function () {
259
- return $.data(this, 'droppable').options.scope === scope;
331
+ scope = this.options.scope;
332
+ parent = this.element.parents(":data(ui-droppable)").filter(function () {
333
+ return $.data(this, "ui-droppable").options.scope === scope;
260
334
  });
261
335
 
262
336
  if (parent.length) {
263
- parentInstance = $.data(parent[0], 'droppable');
264
- parentInstance.greedyChild = (c == 'isover' ? 1 : 0);
337
+ parentInstance = $.data(parent[0], "ui-droppable");
338
+ parentInstance.greedyChild = (c === "isover");
265
339
  }
266
340
  }
267
341
 
268
342
  // we just moved into a greedy child
269
- if (parentInstance && c == 'isover') {
270
- parentInstance['isover'] = 0;
271
- parentInstance['isout'] = 1;
343
+ if (parentInstance && c === "isover") {
344
+ parentInstance.isover = false;
345
+ parentInstance.isout = true;
272
346
  parentInstance._out.call(parentInstance, event);
273
347
  }
274
348
 
275
- this[c] = 1; this[c == 'isout' ? 'isover' : 'isout'] = 0;
276
- this[c == "isover" ? "_over" : "_out"].call(this, event);
349
+ this[c] = true;
350
+ this[c === "isout" ? "isover" : "isout"] = false;
351
+ this[c === "isover" ? "_over" : "_out"].call(this, event);
277
352
 
278
353
  // we just moved out of a greedy child
279
- if (parentInstance && c == 'isout') {
280
- parentInstance['isout'] = 0;
281
- parentInstance['isover'] = 1;
354
+ if (parentInstance && c === "isout") {
355
+ parentInstance.isout = false;
356
+ parentInstance.isover = true;
282
357
  parentInstance._over.call(parentInstance, event);
283
358
  }
284
359
  });
@@ -287,7 +362,9 @@ $.ui.ddmanager = {
287
362
  dragStop: function( draggable, event ) {
288
363
  draggable.element.parentsUntil( "body" ).unbind( "scroll.droppable" );
289
364
  //Call prepareOffsets one final time since IE does not fire return scroll events when overflow was caused by drag (see #5003)
290
- if( !draggable.options.refreshPositions ) $.ui.ddmanager.prepareOffsets( draggable, event );
365
+ if( !draggable.options.refreshPositions ) {
366
+ $.ui.ddmanager.prepareOffsets( draggable, event );
367
+ }
291
368
  }
292
369
  };
293
370
 
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Blind 1.9.2
2
+ * jQuery UI Effects Blind 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Bounce 1.9.2
2
+ * jQuery UI Effects Bounce 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Clip 1.9.2
2
+ * jQuery UI Effects Clip 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Drop 1.9.2
2
+ * jQuery UI Effects Drop 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Explode 1.9.2
2
+ * jQuery UI Effects Explode 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Fade 1.9.2
2
+ * jQuery UI Effects Fade 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Fold 1.9.2
2
+ * jQuery UI Effects Fold 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Highlight 1.9.2
2
+ * jQuery UI Effects Highlight 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Pulsate 1.9.2
2
+ * jQuery UI Effects Pulsate 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Scale 1.9.2
2
+ * jQuery UI Effects Scale 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Shake 1.9.2
2
+ * jQuery UI Effects Shake 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Slide 1.9.2
2
+ * jQuery UI Effects Slide 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -1,8 +1,8 @@
1
1
  /*!
2
- * jQuery UI Effects Transfer 1.9.2
2
+ * jQuery UI Effects Transfer 1.10.1
3
3
  * http://jqueryui.com
4
4
  *
5
- * Copyright 2012 jQuery Foundation and other contributors
5
+ * Copyright 2013 jQuery Foundation and other contributors
6
6
  * Released under the MIT license.
7
7
  * http://jquery.org/license
8
8
  *
@@ -28,7 +28,7 @@ $.effects.effect.transfer = function( o, done ) {
28
28
  width: target.innerWidth()
29
29
  },
30
30
  startPosition = elem.offset(),
31
- transfer = $( '<div class="ui-effects-transfer"></div>' )
31
+ transfer = $( "<div class='ui-effects-transfer'></div>" )
32
32
  .appendTo( document.body )
33
33
  .addClass( o.className )
34
34
  .css({