Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
389e574a
Commit
389e574a
authored
11 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Update Filesaver.js to the latest git (2014-01-24).
parent
9cf9f6c0
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/js/customize.min.js
+1
-1
docs/assets/js/customize.min.js
docs/assets/js/vendor/filesaver.js
+8
-2
docs/assets/js/vendor/filesaver.js
with
9 additions
and
3 deletions
+9
-3
docs/assets/js/customize.min.js
+
1
-
1
View file @
389e574a
This diff is collapsed.
Click to expand it.
docs/assets/js/vendor/filesaver.js
+
8
-
2
View file @
389e574a
/* FileSaver.js
/* FileSaver.js
* A saveAs() FileSaver implementation.
* A saveAs() FileSaver implementation.
* 201
3-12
-2
7
* 201
4-01
-2
4
*
*
* By Eli Grey, http://eligrey.com
* By Eli Grey, http://eligrey.com
* License: X11/MIT
* License: X11/MIT
...
@@ -14,9 +14,15 @@
...
@@ -14,9 +14,15 @@
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
/*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */
var
saveAs
=
saveAs
var
saveAs
=
saveAs
||
(
typeof
navigator
!==
"
undefined
"
&&
navigator
.
msSaveOrOpenBlob
&&
navigator
.
msSaveOrOpenBlob
.
bind
(
navigator
))
// IE 10+ (native saveAs)
||
(
navigator
.
msSaveOrOpenBlob
&&
navigator
.
msSaveOrOpenBlob
.
bind
(
navigator
))
// Everyone else
||
(
function
(
view
)
{
||
(
function
(
view
)
{
"
use strict
"
;
"
use strict
"
;
// IE <10 is explicitly unsupported
if
(
/MSIE
[
1-9
]\.
/
.
test
(
navigator
.
userAgent
))
{
return
;
}
var
var
doc
=
view
.
document
doc
=
view
.
document
// only get URL when necessary in case BlobBuilder.js hasn't overridden it yet
// only get URL when necessary in case BlobBuilder.js hasn't overridden it yet
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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