Skip to content

Commit babf768

Browse files
author
Philipp Alferov
committed
Build assets
1 parent 5fd273f commit babf768

File tree

4 files changed

+40
-40
lines changed

4 files changed

+40
-40
lines changed

dist/angular-file-saver.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,31 +11,31 @@
1111
*
1212
*/
1313

14-
angular
15-
.module('fileSaver', [])
16-
.factory('SaveAs', SaveAs);
14+
function handleErrors (msg) {
15+
throw new Error(msg);
16+
}
1717

18-
function SaveAs() {
18+
function isArray (obj) {
19+
return Object.prototype.toString.call(obj) === '[object Array]';
20+
}
1921

20-
function handleErrors (msg) {
21-
throw new Error(msg);
22-
}
22+
function isObject (obj) {
23+
return obj !== null && typeof obj === 'object';
24+
}
2325

24-
function isArray (obj) {
25-
return Object.prototype.toString.call(obj) === '[object Array]';
26-
}
26+
function isString (obj) {
27+
return typeof obj === 'string' || obj instanceof String;
28+
}
2729

28-
function isObject (obj) {
29-
return obj !== null && typeof obj === 'object';
30-
}
30+
function isBlobInstance (obj) {
31+
return obj instanceof Blob;
32+
}
3133

32-
function isString (obj) {
33-
return typeof obj === 'string' || obj instanceof String;
34-
}
34+
angular
35+
.module('fileSaver', [])
36+
.factory('SaveAs', SaveAs);
3537

36-
function isBlobInstance (obj) {
37-
return obj instanceof Blob;
38-
}
38+
function SaveAs() {
3939

4040
function save(blob, filename) {
4141
try {

dist/angular-file-saver.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/dist/examples.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -28892,31 +28892,31 @@ if (typeof module !== "undefined" && module !== null) {
2889228892
*
2889328893
*/
2889428894

28895-
angular
28896-
.module('fileSaver', [])
28897-
.factory('SaveAs', SaveAs);
28895+
function handleErrors (msg) {
28896+
throw new Error(msg);
28897+
}
2889828898

28899-
function SaveAs() {
28899+
function isArray (obj) {
28900+
return Object.prototype.toString.call(obj) === '[object Array]';
28901+
}
2890028902

28901-
function handleErrors (msg) {
28902-
throw new Error(msg);
28903-
}
28903+
function isObject (obj) {
28904+
return obj !== null && typeof obj === 'object';
28905+
}
2890428906

28905-
function isArray (obj) {
28906-
return Object.prototype.toString.call(obj) === '[object Array]';
28907-
}
28907+
function isString (obj) {
28908+
return typeof obj === 'string' || obj instanceof String;
28909+
}
2890828910

28909-
function isObject (obj) {
28910-
return obj !== null && typeof obj === 'object';
28911-
}
28911+
function isBlobInstance (obj) {
28912+
return obj instanceof Blob;
28913+
}
2891228914

28913-
function isString (obj) {
28914-
return typeof obj === 'string' || obj instanceof String;
28915-
}
28915+
angular
28916+
.module('fileSaver', [])
28917+
.factory('SaveAs', SaveAs);
2891628918

28917-
function isBlobInstance (obj) {
28918-
return obj instanceof Blob;
28919-
}
28919+
function SaveAs() {
2892028920

2892128921
function save(blob, filename) {
2892228922
try {

docs/dist/examples.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)