-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2d0c71a
commit 03044b3
Showing
57 changed files
with
3,279 additions
and
497 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,27 @@ | ||
node_modules | ||
package-lock.json | ||
*.tgz | ||
misc/coverage.html | ||
prof.js | ||
v8.log | ||
test_files | ||
test_files_pres | ||
*.xls | ||
*.[tT][xX][tT] | ||
*.[cC][sS][vV] | ||
*.[dD][iIbB][fF] | ||
*.[pP][rR][nN] | ||
*.[sS][lL][kK] | ||
*.socialcalc | ||
*.[xX][lL][sSwWcC] | ||
*.[xX][lL][sS][xXmMbB] | ||
*.[oO][dD][sS] | ||
*.[fF][oO][dD][sS] | ||
*.[xX][mM][lL] | ||
*.[uU][oO][sS] | ||
*.[wW][kKqQbB][S1234567890] | ||
*.[qQ][pP][wW] | ||
*.123 | ||
*.htm | ||
*.html | ||
*.sheetjs | ||
*.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/* cfb.js (C) 2013-present SheetJS -- http://sheetjs.com */ | ||
/* vim: set ts=2: */ | ||
/*jshint eqnull:true */ | ||
/*exported CFB */ | ||
/*global module, require:false, process:false, Buffer:false, Uint8Array:false */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
var Base64 = (function make_b64(){ | ||
var map = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; | ||
return { | ||
encode: function(input/*:string*/)/*:string*/ { | ||
var o = ""; | ||
var c1/*:number*/, c2/*:number*/, c3/*:number*/; | ||
var e1/*:number*/, e2/*:number*/, e3/*:number*/, e4/*:number*/; | ||
for(var i = 0; i < input.length; ) { | ||
c1 = input.charCodeAt(i++); | ||
e1 = (c1 >> 2); | ||
|
||
c2 = input.charCodeAt(i++); | ||
e2 = ((c1 & 3) << 4) | (c2 >> 4); | ||
|
||
c3 = input.charCodeAt(i++); | ||
e3 = ((c2 & 15) << 2) | (c3 >> 6); | ||
e4 = (c3 & 63); | ||
if (isNaN(c2)) { e3 = e4 = 64; } | ||
else if (isNaN(c3)) { e4 = 64; } | ||
o += map.charAt(e1) + map.charAt(e2) + map.charAt(e3) + map.charAt(e4); | ||
} | ||
return o; | ||
}, | ||
decode: function b64_decode(input/*:string*/)/*:string*/ { | ||
var o = ""; | ||
var c1/*:number*/, c2/*:number*/, c3/*:number*/; | ||
var e1/*:number*/, e2/*:number*/, e3/*:number*/, e4/*:number*/; | ||
input = input.replace(/[^\w\+\/\=]/g, ""); | ||
for(var i = 0; i < input.length;) { | ||
e1 = map.indexOf(input.charAt(i++)); | ||
e2 = map.indexOf(input.charAt(i++)); | ||
c1 = (e1 << 2) | (e2 >> 4); | ||
o += String.fromCharCode(c1); | ||
|
||
e3 = map.indexOf(input.charAt(i++)); | ||
c2 = ((e2 & 15) << 4) | (e3 >> 2); | ||
if (e3 !== 64) { o += String.fromCharCode(c2); } | ||
|
||
e4 = map.indexOf(input.charAt(i++)); | ||
c3 = ((e3 & 3) << 6) | e4; | ||
if (e4 !== 64) { o += String.fromCharCode(c3); } | ||
} | ||
return o; | ||
} | ||
}; | ||
})(); |
Oops, something went wrong.