Commit 33d8fde6 authored by XhmikosR's avatar XhmikosR
Browse files

Merge pull request #15708 from twbs/customizer-libs

Update customizer libs
parents a0a00b25 f674f878
Showing with 9958 additions and 6341 deletions
+9958 -6341
This source diff could not be displayed because it is too large. You can view the blob instead.
/* FileSaver.js /* FileSaver.js
* A saveAs() FileSaver implementation. * A saveAs() FileSaver implementation.
* 2014-08-29 * 2015-01-04
* *
* By Eli Grey, http://eligrey.com * By Eli Grey, http://eligrey.com
* License: X11/MIT * License: X11/MIT
...@@ -49,9 +49,10 @@ var saveAs = saveAs ...@@ -49,9 +49,10 @@ var saveAs = saveAs
} }
, force_saveable_type = "application/octet-stream" , force_saveable_type = "application/octet-stream"
, fs_min_size = 0 , fs_min_size = 0
// See https://code.google.com/p/chromium/issues/detail?id=375297#c7 for // See https://code.google.com/p/chromium/issues/detail?id=375297#c7 and
// the reasoning behind the timeout and revocation flow // https://github.com/eligrey/FileSaver.js/commit/485930a#commitcomment-8768047
, arbitrary_revoke_timeout = 10 // for the reasoning behind the timeout and revocation flow
, arbitrary_revoke_timeout = 500 // in ms
, revoke = function(file) { , revoke = function(file) {
var revoker = function() { var revoker = function() {
if (typeof file === "string") { // file is an object URL if (typeof file === "string") { // file is an object URL
...@@ -234,8 +235,8 @@ var saveAs = saveAs ...@@ -234,8 +235,8 @@ var saveAs = saveAs
// while `this` is nsIContentFrameMessageManager // while `this` is nsIContentFrameMessageManager
// with an attribute `content` that corresponds to the window // with an attribute `content` that corresponds to the window
if (typeof module !== "undefined" && module !== null) { if (typeof module !== "undefined" && module.exports) {
module.exports = saveAs; module.exports.saveAs = saveAs;
} else if ((typeof define !== "undefined" && define !== null) && (define.amd != null)) { } else if ((typeof define !== "undefined" && define !== null) && (define.amd != null)) {
define([], function() { define([], function() {
return saveAs; return saveAs;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment