(name, value)
| 30 | Realm.shared = {} |
| 31 | |
| 32 | function install(name, value) { |
| 33 | Realm.shared[name] = value; |
| 34 | for (i in realms) { |
| 35 | Realm.eval(realms[i], name + " = Realm.shared['" + name + "'];"); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | install('return_this', function() { return this; }); |
| 40 | install('return_this_strict', function () { 'use strict'; return this; }); |