Skip to content

Commit

Permalink
Changed to Function constructor call
Browse files Browse the repository at this point in the history
  • Loading branch information
davglass committed Oct 25, 2012
1 parent 897038f commit ddee616
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yui/js/yui.js
Expand Up @@ -459,7 +459,7 @@ proto = {
useBrowserConsole: true,
useNativeES5: true,
win: win,
global: (typeof global === 'object' && typeof process === 'object' && process.versions && process.versions.node) ? global : win
global: Function('return this')()
};

//Register the CSS stamp element
Expand Down

0 comments on commit ddee616

Please sign in to comment.