plupload-rails 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/plupload.settings.js.erb +5 -3
- data/lib/plupload/rails/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a19d989dec39bbdf6025d1b118e9cfb863338fdf
|
4
|
+
data.tar.gz: b0cb5ee86f7b3d52cce47b969d2b3e776db3fd3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36193ca7cd0cb5b84608ec901c5f578d1f437478669c2518f63646e1b5cc09610ca864072f96b28ad2eb74479b24efc2da833423f23ee150e7e61eb5a6869f27
|
7
|
+
data.tar.gz: 4ed9c68a3f305e5aa1b41ebf554d05fd56236809342ca2c058b56a0b49cb42659a840ea11437e2696fc5b126a9f62ac5d89704254fe37d0eea962f1304e76011
|
@@ -1,14 +1,16 @@
|
|
1
1
|
// Assigns default Plupload settings that work with the asset pipeline.
|
2
2
|
(function ($) {
|
3
3
|
var proxied = plupload.Uploader;
|
4
|
-
|
4
|
+
|
5
5
|
plupload.Uploader = function (settings) {
|
6
6
|
settings = $.extend({}, settings, {
|
7
7
|
multipart: true,
|
8
8
|
flash_swf_url: '<%= asset_path("Moxie.swf") %>',
|
9
9
|
silverlight_xap_url: '<%= asset_path("Moxie.xap") %>'
|
10
10
|
});
|
11
|
-
|
12
|
-
return proxied.
|
11
|
+
|
12
|
+
return proxied.call(this, settings);
|
13
13
|
};
|
14
|
+
|
15
|
+
plupload.Uploader.prototype = proxied.prototype;
|
14
16
|
}(jQuery));
|