node vs browser env check is now working
This commit is contained in:
24871
test/browser/browserified/index.js
Normal file
24871
test/browser/browserified/index.js
Normal file
File diff suppressed because it is too large
Load Diff
6
test/browser/index.html
Normal file
6
test/browser/index.html
Normal file
@ -0,0 +1,6 @@
|
||||
<head>
|
||||
<script async src="browserified/index.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
</body>
|
2
test/browser/index.js
Normal file
2
test/browser/index.js
Normal file
@ -0,0 +1,2 @@
|
||||
var smartenv = require("./index.js");
|
||||
smartenv.printEnv();
|
Reference in New Issue
Block a user