File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 1
1
; ( function ( ) {
2
2
3
- var object =
4
- typeof exports != 'undefined' ? exports :
5
- typeof self != 'undefined' ? self : // #8: web workers
6
- $ . global ; // #31: ExtendScript
3
+ var object = (
4
+ // #34: CommonJS
5
+ typeof exports === 'object' && exports !== null &&
6
+ typeof exports . nodeType !== 'number' ?
7
+ exports :
8
+ // #8: web workers
9
+ typeof self != 'undefined' ?
10
+ self :
11
+ // #31: ExtendScript
12
+ $ . global
13
+ ) ;
7
14
8
15
var chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=' ;
9
16
Original file line number Diff line number Diff line change 11
11
},
12
12
"devDependencies" : {
13
13
"coffee-script" : " 1.8.x" ,
14
+ "debug" : " 3.2.x" ,
14
15
"istanbul" : " 0.2.x" ,
15
16
"mocha" : " 1.18.x" ,
16
17
"uglify-js" : " 2.4.x" ,
You can’t perform that action at this time.
0 commit comments