We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a7fdc8 commit aa6ecdbCopy full SHA for aa6ecdb
lib/shen.js
@@ -1,6 +1,6 @@
1
module.exports = class Shen {
2
constructor (options = {}) {
3
- const target = typeof process === undefined ? 'web' : 'node';
+ const target = typeof process === 'undefined' ? 'web' : 'node';
4
const backend = require('./backend.js');
5
const config = require(`./config.${target}.js`);
6
const kernel = require('./kernel.js');
0 commit comments