jquery-fileupload-rails 0.4.4 → 0.4.5
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e9026dd8a1ef8161bc2f16c346c618724bf14a7
|
4
|
+
data.tar.gz: 2e14acd41acdfffb546fc49499f24b1bf47865bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83b50d93184e70b714857337f4b1df63d44be5666ce3102b352adaa6a776c59354c0133e3b1f7804addcb358eee7b058e7984bb96fd9ae685e42c3e1b3986bbf
|
7
|
+
data.tar.gz: 3ee222a90a2f79be6b88b75e4ace9aa2705d5ac1131090ebe7ed8ec6aad8d76e8a594b788e2280dba34546d02922fc15b56b87800d936849a2da008c599f38b8
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ jquery-fileupload-rails is a library that integrates jQuery File Upload for Rail
|
|
7
7
|
## Plugin versions
|
8
8
|
|
9
9
|
* jQuery File Upload User Interface Plugin 9.6.1
|
10
|
-
* jQuery File Upload Plugin 5.42.
|
10
|
+
* jQuery File Upload Plugin 5.42.3
|
11
11
|
* jQuery UI Widget 1.11.1+CommonJS
|
12
12
|
|
13
13
|
## Installing Gem
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/*
|
2
|
-
* jQuery File Upload Plugin 5.42.
|
2
|
+
* jQuery File Upload Plugin 5.42.3
|
3
3
|
* https://github.com/blueimp/jQuery-File-Upload
|
4
4
|
*
|
5
5
|
* Copyright 2010, Sebastian Tschan
|
@@ -1344,18 +1344,19 @@
|
|
1344
1344
|
_initDataAttributes: function () {
|
1345
1345
|
var that = this,
|
1346
1346
|
options = this.options,
|
1347
|
-
|
1348
|
-
data = clone.data();
|
1349
|
-
// Avoid memory leaks:
|
1350
|
-
clone.remove();
|
1347
|
+
data = this.element.data();
|
1351
1348
|
// Initialize options set via HTML5 data-attributes:
|
1352
1349
|
$.each(
|
1353
|
-
|
1354
|
-
function (
|
1355
|
-
var
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1350
|
+
this.element[0].attributes,
|
1351
|
+
function (index, attr) {
|
1352
|
+
var key = attr.name.toLowerCase(),
|
1353
|
+
value;
|
1354
|
+
if (/^data-/.test(key)) {
|
1355
|
+
// Convert hyphen-ated key to camelCase:
|
1356
|
+
key = key.slice(5).replace(/-[a-z]/g, function (str) {
|
1357
|
+
return str.charAt(1).toUpperCase();
|
1358
|
+
});
|
1359
|
+
value = data[key];
|
1359
1360
|
if (that._isRegExpOption(key, value)) {
|
1360
1361
|
value = that._getRegExp(value);
|
1361
1362
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery-fileupload-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tors Dalid
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|