runtime/post.js in opal-0.3.6 vs runtime/post.js in opal-0.3.9
- old
+ new
@@ -1,10 +1,10 @@
init();
-})();
+})(undefined);
// if in a commonjs system already (node etc), exports become our opal
// object. Otherwise, in the browser, we just get a top level opal var
if ((typeof require !== 'undefined') && (typeof module !== 'undefined')) {
- module.exports = opal;
+ module.exports = opalscript;
}