Skip to content

Commit

Permalink
😐 Fix 'this' keyword undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
VandeurenGlenn committed Feb 24, 2017
1 parent eefa148 commit 1f007e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backed.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import PubSubLoader from './internals/pub-sub-loader.js';

const isNode = () => {
try {
return this===global;
return global;
}catch(e){
return false;
}
Expand Down

0 comments on commit 1f007e1

Please sign in to comment.