Skip to content

Commit

Permalink
Merge pull request #96 from forshtreter/master
Browse files Browse the repository at this point in the history
Pass `window` or `global` instead of `this`
  • Loading branch information
dfilatov committed Sep 28, 2015
2 parents fde1563 + 8f17a03 commit 8b602d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vow.js
Expand Up @@ -1325,4 +1325,4 @@ if(typeof define === 'function') {

defineAsGlobal && (global.vow = vow);

})(this);
})(typeof window !== 'undefined' ? window : global);

0 comments on commit 8b602d5

Please sign in to comment.