Mercurial > jsm-in-web
view fake_Preferences.js @ 6:cb390cc6efa2
Switched to injecting code into iframes asynchronously via script tags rather than synchronously via window.eval(), b/c the latter didn't always result in proper evaluation (e.g., when "foo = 1" was eval'd, 'foo' was attached to the global object of the caller rather than the window object).
Also added fake Observers and Preferences JS modules.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Wed, 08 Apr 2009 22:42:13 -0700 |
parents | |
children |
line wrap: on
line source
let EXPORTED_SYMBOLS = ["Preferences"]; function Preferences() { this.get = function() { }; }