Skip to content

Commit 46c8eb2

Browse files
committed
fake LocalePlugin for Pharo compat
fixes #94
1 parent 0652508 commit 46c8eb2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎vm.js‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4210,6 +4210,9 @@ Object.subclass('Squeak.Primitives',
42104210
SecurityPlugin: {
42114211
primitiveDisableImageWrite: this.fakePrimitive.bind(this, "SecurityPlugin.primitiveDisableImageWrite", 0),
42124212
},
4213+
LocalePlugin: {
4214+
primitiveTimezoneOffset: this.fakePrimitive.bind(this, "LocalePlugin.primitiveTimezoneOffset", 0),
4215+
},
42134216
};
42144217
this.patchModules = {
42154218
ScratchPlugin: this.findPluginFunctions("scratch_"),

0 commit comments

Comments
 (0)