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
6df64526
Commit
6df64526
authored
Apr 21, 2015
by
XhmikosR
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update FileSaver.js to v2015-03-04.
[ci skip]
parent
7da5f133
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
docs/assets/js/vendor/FileSaver.js
docs/assets/js/vendor/FileSaver.js
+5
-1
No files found.
docs/assets/js/vendor/FileSaver.js
View file @
6df64526
/* FileSaver.js
* A saveAs() FileSaver implementation.
* 2015-0
1
-04
* 2015-0
3
-04
*
* By Eli Grey, http://eligrey.com
* License: X11/MIT
...
...
@@ -135,6 +135,10 @@ var saveAs = saveAs
revoke
(
object_url
);
return
;
}
// prepend BOM for UTF-8 XML and text/plain types
if
(
/^
\s
*
(?:
text
\/(?:
plain|xml
)
|application
\/
xml|
\S
*
\/\S
*
\+
xml
)\s
*;.*charset
\s
*=
\s
*utf-8/i
.
test
(
blob
.
type
))
{
blob
=
new
Blob
([
"
\
ufeff
"
,
blob
],
{
type
:
blob
.
type
});
}
// Object and web filesystem URLs have a problem saving in Google Chrome when
// viewed in a tab, so I force save with application/octet-stream
// http://code.google.com/p/chromium/issues/detail?id=91158
...
...
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