Permalink
Browse files

Fixed hand-crafted JS code for IE, tested in IE8 & IE8 as 7

Still broken in IE6

The only problem was a few trailing commas.
  • Loading branch information...
1 parent 0313023 commit 243b520d12b805e72248aa7b737e3863ec12e4a4 @stepb stepb committed Dec 26, 2010
Showing with 5 additions and 5 deletions.
  1. +3 −3 examples/rts-common.js
  2. +1 −1 examples/rts-plain.js
  3. +1 −1 examples/rts-trampoline.js
View
6 examples/rts-common.js
@@ -24,7 +24,7 @@ var $hs = {
return a >= b;
else
return a <= b;
- },
+ }
},
Int : { // binary operations supposed to work with 32bit words
addCarry : function(a, b, c) {
@@ -48,7 +48,7 @@ var $hs = {
},
mulIntMayOflo : function(a, b) {
return a >>> 16 == 0 && b >>> 16 == 0;
- },
+ }
},
modules: {},
alert: function (str) {
@@ -66,7 +66,7 @@ var $hs = {
},
logDebug: function (str) {
$hs.logAny("DEBUG", str);
- },
+ }
}
$hs.Module = function () {};
View
2 examples/rts-plain.js
@@ -41,7 +41,7 @@ $hs.Func = function(a) {
};
$hs.Func.prototype = {
hscall: $hs.hscall,
- notEvaluated: false,
+ notEvaluated: false
};
$hs.Thunk = function() {};
View
2 examples/rts-trampoline.js
@@ -62,7 +62,7 @@ $hs.Func = function(a) {
};
$hs.Func.prototype = {
hscall: $hs.hscall,
- notEvaluated: false,
+ notEvaluated: false
};
$hs.Thunk = function() {};

0 comments on commit 243b520

Please sign in to comment.