File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 31
31
"bump" : " bump --prompt --tag --push --all" ,
32
32
"release" : " npm run upgrade && npm run build && npm test && npm run bump && npm publish"
33
33
},
34
+ "testling" : {
35
+ "harness" : " mocha" ,
36
+ "files" : " tests/**/*.js" ,
37
+ "browsers" : [
38
+ " ie/6..latest" ,
39
+ " chrome/22..latest" ,
40
+ " firefox/16..latest" ,
41
+ " safari/5.0..latest" ,
42
+ " opera/11.0..latest" ,
43
+ " iphone/6..latest" ,
44
+ " ipad/6..latest" ,
45
+ " android-browser/4.2..latest"
46
+ ]
47
+ },
34
48
"repository" : {
35
49
"type" : " git" ,
36
50
"url" : " https://github.com/bigstickcarpet/ono.git"
61
75
"version-bump-prompt" : " ^1.4.2"
62
76
},
63
77
"dependencies" : {}
64
- }
78
+ }
Original file line number Diff line number Diff line change 1
1
'use strict' ;
2
2
3
- var isBrowser = typeof ( window ) === 'object' ;
3
+ var isBrowser = typeof ( window ) === 'object' && typeof ( process ) === 'undefined' ;
4
4
5
5
var helper = {
6
6
isNode : ! isBrowser ,
You can’t perform that action at this time.
0 commit comments