Chromium Code Reviews| Index: lib/isolate/frog/natives.js |
| =================================================================== |
| --- lib/isolate/frog/natives.js (revision 5289) |
| +++ lib/isolate/frog/natives.js (working copy) |
| @@ -7,6 +7,8 @@ |
| var $globalThis = this; |
| var $globals = null; |
| var $globalState = null; |
| +function $initGlobals(context) { context.isolateStatics = {}; } |
| +function $setGlobals(context) { $globals = context.isolateStatics; } |
|
ngeoffray
2012/03/11 15:43:54
That's the Frog specific implementation.
|
| // Wrap a 0-arg dom-callback to bind it with the current isolate: |
| function $wrap_call$0(fn) { return fn && fn.wrap$call$0(); } |