Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
c918289b
Commit
c918289b
authored
Jan 30, 2015
by
XhmikosR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bump FileSaver.js to v2015-01-04.
parent
feb0da4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
docs/assets/js/vendor/FileSaver.js
docs/assets/js/vendor/FileSaver.js
+7
-6
No files found.
docs/assets/js/vendor/FileSaver.js
View file @
c918289b
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 201
4-08-29
* 201
5-01-04
*
* By Eli Grey, http://eligrey.com
* License: X11/MIT
...
...
@@ -49,9 +49,10 @@ var saveAs = saveAs
}
,
force_saveable_type
=
"
application/octet-stream
"
,
fs_min_size
=
0
// See https://code.google.com/p/chromium/issues/detail?id=375297#c7 for
// the reasoning behind the timeout and revocation flow
,
arbitrary_revoke_timeout
=
10
// See https://code.google.com/p/chromium/issues/detail?id=375297#c7 and
// https://github.com/eligrey/FileSaver.js/commit/485930a#commitcomment-8768047
// for the reasoning behind the timeout and revocation flow
,
arbitrary_revoke_timeout
=
500
// in ms
,
revoke
=
function
(
file
)
{
var
revoker
=
function
()
{
if
(
typeof
file
===
"
string
"
)
{
// file is an object URL
...
...
@@ -234,8 +235,8 @@ var saveAs = saveAs
// while `this` is nsIContentFrameMessageManager
// with an attribute `content` that corresponds to the window
if
(
typeof
module
!==
"
undefined
"
&&
module
!==
null
)
{
module
.
exports
=
saveAs
;
if
(
typeof
module
!==
"
undefined
"
&&
module
.
exports
)
{
module
.
exports
.
saveAs
=
saveAs
;
}
else
if
((
typeof
define
!==
"
undefined
"
&&
define
!==
null
)
&&
(
define
.
amd
!=
null
))
{
define
([],
function
()
{
return
saveAs
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment