Skip to content

Commit

Permalink
* Add check for global property for engines that need it--part 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
keeto committed Jan 15, 2011
1 parent dc7789e commit 598a06e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/engines/flusspferd/bootstrap.js
Expand Up @@ -27,6 +27,7 @@ version = ((version.length < 3) ? [version[0], version[1], 0] : version).join('.
var Engine;
try {
Engine = require('./' + adapter.find(version, require('./versions').versions) + '/engine').engine;
if (!Engine.global) Engine.global = global;
} catch(e){
print(e);
Engine = null;
Expand Down

0 comments on commit 598a06e

Please sign in to comment.