webshims-rails 1.15.2 → 1.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/webshims-rails/version.rb +2 -2
- data/vendor/assets/javascripts/webshims/polyfiller.js +2 -2
- data/vendor/assets/javascripts/webshims/shims/combos/10.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/11.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/17.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/5.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/6.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/combos/9.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/form-number-date-ui.js +9 -8
- data/vendor/assets/javascripts/webshims/shims/form-validation.js +1 -1
- data/vendor/assets/javascripts/webshims/shims/jme/mediacontrols-lazy.js +9 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd92f67902b63a8bf08574c1db7719cf6b10a990
|
4
|
+
data.tar.gz: c7e14b4a1b66a6cbab72dcba292b888b3915eb7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ce34c2f35776168b40e8aeb9f81b8e0e239ac926a3c2a0c3927d02680d76d7d2c832246a97f7c8af100f2170186e921fa81d04797ea8aab6ba4bedf2cd2af08
|
7
|
+
data.tar.gz: 374e7c639356716a73c546fea9b296b73afd67c691043be3d52a9eb7e803df989ad59d6ada34a353db0ced17f18b8a006b3a7a2c4e17f48abfd4ec48a37bb2ee
|
@@ -136,7 +136,7 @@
|
|
136
136
|
}
|
137
137
|
|
138
138
|
$.extend(webshims, {
|
139
|
-
version: '1.15.
|
139
|
+
version: '1.15.3',
|
140
140
|
|
141
141
|
cfg: {
|
142
142
|
enhanceAuto: window.Audio && (!window.matchMedia || matchMedia('(min-device-width: 721px)').matches),
|
@@ -1094,11 +1094,11 @@
|
|
1094
1094
|
|
1095
1095
|
addPolyfill('form-core', {
|
1096
1096
|
f: 'forms',
|
1097
|
+
test: initialFormTest,
|
1097
1098
|
d: ['es5'],
|
1098
1099
|
options: {
|
1099
1100
|
placeholderType: 'value',
|
1100
1101
|
messagePopover: {},
|
1101
|
-
test: initialFormTest,
|
1102
1102
|
list: {
|
1103
1103
|
popover: {
|
1104
1104
|
constrainWidth: true
|
@@ -2979,6 +2979,13 @@ webshims.register('dom-extend', function($, webshims, window, document, undefine
|
|
2979
2979
|
return handler.apply(this, arguments);
|
2980
2980
|
}
|
2981
2981
|
};
|
2982
|
+
if($.isFunction(target)){
|
2983
|
+
handler = target;
|
2984
|
+
target = false;
|
2985
|
+
this.on('click', runHandler);
|
2986
|
+
} else {
|
2987
|
+
this.on('click', target, runHandler);
|
2988
|
+
}
|
2982
2989
|
if(addTouch){
|
2983
2990
|
allowClick = function(){
|
2984
2991
|
stopClick = false;
|
@@ -3027,17 +3034,11 @@ webshims.register('dom-extend', function($, webshims, window, document, undefine
|
|
3027
3034
|
this.each(function(){
|
3028
3035
|
this.addEventListener('touchstart', touchStart, true);
|
3029
3036
|
});
|
3030
|
-
} else if(supportsTouchaction){
|
3037
|
+
} else if(supportsTouchaction && !target){
|
3031
3038
|
this.css('touch-action', 'manipulation');
|
3032
3039
|
}
|
3033
3040
|
|
3034
|
-
|
3035
|
-
handler = target;
|
3036
|
-
target = false;
|
3037
|
-
this.on('click', runHandler);
|
3038
|
-
} else {
|
3039
|
-
this.on('click', target, runHandler);
|
3040
|
-
}
|
3041
|
+
|
3041
3042
|
return this;
|
3042
3043
|
};
|
3043
3044
|
})();
|
@@ -1748,6 +1748,13 @@
|
|
1748
1748
|
return handler.apply(this, arguments);
|
1749
1749
|
}
|
1750
1750
|
};
|
1751
|
+
if($.isFunction(target)){
|
1752
|
+
handler = target;
|
1753
|
+
target = false;
|
1754
|
+
this.on('click', runHandler);
|
1755
|
+
} else {
|
1756
|
+
this.on('click', target, runHandler);
|
1757
|
+
}
|
1751
1758
|
if(addTouch){
|
1752
1759
|
allowClick = function(){
|
1753
1760
|
stopClick = false;
|
@@ -1796,17 +1803,11 @@
|
|
1796
1803
|
this.each(function(){
|
1797
1804
|
this.addEventListener('touchstart', touchStart, true);
|
1798
1805
|
});
|
1799
|
-
} else if(supportsTouchaction){
|
1806
|
+
} else if(supportsTouchaction && !target){
|
1800
1807
|
this.css('touch-action', 'manipulation');
|
1801
1808
|
}
|
1802
1809
|
|
1803
|
-
|
1804
|
-
handler = target;
|
1805
|
-
target = false;
|
1806
|
-
this.on('click', runHandler);
|
1807
|
-
} else {
|
1808
|
-
this.on('click', target, runHandler);
|
1809
|
-
}
|
1810
|
+
|
1810
1811
|
return this;
|
1811
1812
|
};
|
1812
1813
|
})();
|
@@ -2364,6 +2364,13 @@ webshims.register('form-number-date-api', function($, webshims, window, document
|
|
2364
2364
|
return handler.apply(this, arguments);
|
2365
2365
|
}
|
2366
2366
|
};
|
2367
|
+
if($.isFunction(target)){
|
2368
|
+
handler = target;
|
2369
|
+
target = false;
|
2370
|
+
this.on('click', runHandler);
|
2371
|
+
} else {
|
2372
|
+
this.on('click', target, runHandler);
|
2373
|
+
}
|
2367
2374
|
if(addTouch){
|
2368
2375
|
allowClick = function(){
|
2369
2376
|
stopClick = false;
|
@@ -2412,17 +2419,11 @@ webshims.register('form-number-date-api', function($, webshims, window, document
|
|
2412
2419
|
this.each(function(){
|
2413
2420
|
this.addEventListener('touchstart', touchStart, true);
|
2414
2421
|
});
|
2415
|
-
} else if(supportsTouchaction){
|
2422
|
+
} else if(supportsTouchaction && !target){
|
2416
2423
|
this.css('touch-action', 'manipulation');
|
2417
2424
|
}
|
2418
2425
|
|
2419
|
-
|
2420
|
-
handler = target;
|
2421
|
-
target = false;
|
2422
|
-
this.on('click', runHandler);
|
2423
|
-
} else {
|
2424
|
-
this.on('click', target, runHandler);
|
2425
|
-
}
|
2426
|
+
|
2426
2427
|
return this;
|
2427
2428
|
};
|
2428
2429
|
})();
|
@@ -2575,6 +2575,13 @@ webshims.register('form-native-extend', function($, webshims, window, doc, undef
|
|
2575
2575
|
return handler.apply(this, arguments);
|
2576
2576
|
}
|
2577
2577
|
};
|
2578
|
+
if($.isFunction(target)){
|
2579
|
+
handler = target;
|
2580
|
+
target = false;
|
2581
|
+
this.on('click', runHandler);
|
2582
|
+
} else {
|
2583
|
+
this.on('click', target, runHandler);
|
2584
|
+
}
|
2578
2585
|
if(addTouch){
|
2579
2586
|
allowClick = function(){
|
2580
2587
|
stopClick = false;
|
@@ -2623,17 +2630,11 @@ webshims.register('form-native-extend', function($, webshims, window, doc, undef
|
|
2623
2630
|
this.each(function(){
|
2624
2631
|
this.addEventListener('touchstart', touchStart, true);
|
2625
2632
|
});
|
2626
|
-
} else if(supportsTouchaction){
|
2633
|
+
} else if(supportsTouchaction && !target){
|
2627
2634
|
this.css('touch-action', 'manipulation');
|
2628
2635
|
}
|
2629
2636
|
|
2630
|
-
|
2631
|
-
handler = target;
|
2632
|
-
target = false;
|
2633
|
-
this.on('click', runHandler);
|
2634
|
-
} else {
|
2635
|
-
this.on('click', target, runHandler);
|
2636
|
-
}
|
2637
|
+
|
2637
2638
|
return this;
|
2638
2639
|
};
|
2639
2640
|
})();
|
@@ -2575,6 +2575,13 @@ webshims.register('form-native-extend', function($, webshims, window, doc, undef
|
|
2575
2575
|
return handler.apply(this, arguments);
|
2576
2576
|
}
|
2577
2577
|
};
|
2578
|
+
if($.isFunction(target)){
|
2579
|
+
handler = target;
|
2580
|
+
target = false;
|
2581
|
+
this.on('click', runHandler);
|
2582
|
+
} else {
|
2583
|
+
this.on('click', target, runHandler);
|
2584
|
+
}
|
2578
2585
|
if(addTouch){
|
2579
2586
|
allowClick = function(){
|
2580
2587
|
stopClick = false;
|
@@ -2623,17 +2630,11 @@ webshims.register('form-native-extend', function($, webshims, window, doc, undef
|
|
2623
2630
|
this.each(function(){
|
2624
2631
|
this.addEventListener('touchstart', touchStart, true);
|
2625
2632
|
});
|
2626
|
-
} else if(supportsTouchaction){
|
2633
|
+
} else if(supportsTouchaction && !target){
|
2627
2634
|
this.css('touch-action', 'manipulation');
|
2628
2635
|
}
|
2629
2636
|
|
2630
|
-
|
2631
|
-
handler = target;
|
2632
|
-
target = false;
|
2633
|
-
this.on('click', runHandler);
|
2634
|
-
} else {
|
2635
|
-
this.on('click', target, runHandler);
|
2636
|
-
}
|
2637
|
+
|
2637
2638
|
return this;
|
2638
2639
|
};
|
2639
2640
|
})();
|
@@ -2979,6 +2979,13 @@ webshims.register('dom-extend', function($, webshims, window, document, undefine
|
|
2979
2979
|
return handler.apply(this, arguments);
|
2980
2980
|
}
|
2981
2981
|
};
|
2982
|
+
if($.isFunction(target)){
|
2983
|
+
handler = target;
|
2984
|
+
target = false;
|
2985
|
+
this.on('click', runHandler);
|
2986
|
+
} else {
|
2987
|
+
this.on('click', target, runHandler);
|
2988
|
+
}
|
2982
2989
|
if(addTouch){
|
2983
2990
|
allowClick = function(){
|
2984
2991
|
stopClick = false;
|
@@ -3027,17 +3034,11 @@ webshims.register('dom-extend', function($, webshims, window, document, undefine
|
|
3027
3034
|
this.each(function(){
|
3028
3035
|
this.addEventListener('touchstart', touchStart, true);
|
3029
3036
|
});
|
3030
|
-
} else if(supportsTouchaction){
|
3037
|
+
} else if(supportsTouchaction && !target){
|
3031
3038
|
this.css('touch-action', 'manipulation');
|
3032
3039
|
}
|
3033
3040
|
|
3034
|
-
|
3035
|
-
handler = target;
|
3036
|
-
target = false;
|
3037
|
-
this.on('click', runHandler);
|
3038
|
-
} else {
|
3039
|
-
this.on('click', target, runHandler);
|
3040
|
-
}
|
3041
|
+
|
3041
3042
|
return this;
|
3042
3043
|
};
|
3043
3044
|
})();
|
@@ -1128,6 +1128,13 @@ webshims.register('form-number-date-ui', function($, webshims, window, document,
|
|
1128
1128
|
return handler.apply(this, arguments);
|
1129
1129
|
}
|
1130
1130
|
};
|
1131
|
+
if($.isFunction(target)){
|
1132
|
+
handler = target;
|
1133
|
+
target = false;
|
1134
|
+
this.on('click', runHandler);
|
1135
|
+
} else {
|
1136
|
+
this.on('click', target, runHandler);
|
1137
|
+
}
|
1131
1138
|
if(addTouch){
|
1132
1139
|
allowClick = function(){
|
1133
1140
|
stopClick = false;
|
@@ -1176,17 +1183,11 @@ webshims.register('form-number-date-ui', function($, webshims, window, document,
|
|
1176
1183
|
this.each(function(){
|
1177
1184
|
this.addEventListener('touchstart', touchStart, true);
|
1178
1185
|
});
|
1179
|
-
} else if(supportsTouchaction){
|
1186
|
+
} else if(supportsTouchaction && !target){
|
1180
1187
|
this.css('touch-action', 'manipulation');
|
1181
1188
|
}
|
1182
1189
|
|
1183
|
-
|
1184
|
-
handler = target;
|
1185
|
-
target = false;
|
1186
|
-
this.on('click', runHandler);
|
1187
|
-
} else {
|
1188
|
-
this.on('click', target, runHandler);
|
1189
|
-
}
|
1190
|
+
|
1190
1191
|
return this;
|
1191
1192
|
};
|
1192
1193
|
})();
|
@@ -998,7 +998,7 @@ webshims.register('form-validation', function($, webshims, window, document, und
|
|
998
998
|
var fileReaderReady = ('FileReader' in window && 'FormData' in window);
|
999
999
|
if(!fileReaderReady){
|
1000
1000
|
webshims.addReady(function(context){
|
1001
|
-
if(!fileReaderReady && !modules
|
1001
|
+
if(!fileReaderReady && modules['filereader-xhr'] && !modules['filereader-xhr'].loaded && context.querySelector('input.ws-filereader')){
|
1002
1002
|
webshims.reTest(['filereader']);
|
1003
1003
|
fileReaderReady = true;
|
1004
1004
|
}
|
@@ -45,6 +45,13 @@ webshims.register('mediacontrols-lazy', function($, webshims, window, doc, undef
|
|
45
45
|
return handler.apply(this, arguments);
|
46
46
|
}
|
47
47
|
};
|
48
|
+
if($.isFunction(target)){
|
49
|
+
handler = target;
|
50
|
+
target = false;
|
51
|
+
this.on('click', runHandler);
|
52
|
+
} else {
|
53
|
+
this.on('click', target, runHandler);
|
54
|
+
}
|
48
55
|
if(addTouch){
|
49
56
|
allowClick = function(){
|
50
57
|
stopClick = false;
|
@@ -93,17 +100,11 @@ webshims.register('mediacontrols-lazy', function($, webshims, window, doc, undef
|
|
93
100
|
this.each(function(){
|
94
101
|
this.addEventListener('touchstart', touchStart, true);
|
95
102
|
});
|
96
|
-
} else if(supportsTouchaction){
|
103
|
+
} else if(supportsTouchaction && !target){
|
97
104
|
this.css('touch-action', 'manipulation');
|
98
105
|
}
|
99
106
|
|
100
|
-
|
101
|
-
handler = target;
|
102
|
-
target = false;
|
103
|
-
this.on('click', runHandler);
|
104
|
-
} else {
|
105
|
-
this.on('click', target, runHandler);
|
106
|
-
}
|
107
|
+
|
107
108
|
return this;
|
108
109
|
};
|
109
110
|
})();
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webshims-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.15.
|
4
|
+
version: 1.15.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Reese
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|