Permalink
Browse files

* Add check for global property for engines that need it--part 2.

  • Loading branch information...
1 parent dc7789e commit 598a06e601852caa7ac72a13e2bb0a9ba1a75adc @keeto committed Jan 15, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 Source/engines/flusspferd/bootstrap.js
@@ -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;

0 comments on commit 598a06e

Please sign in to comment.