diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-12-02 13:37:24 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-12-02 13:37:24 -0800 |
commit | d2b0d9924aa9a3603b0b16bd957832faf503c32d (patch) | |
tree | df1b2431d5c2a67756891cbfcc949da524791dc2 /src/framework.js | |
parent | 12e85d4ab3fb0447d60165c6ca00296ae0fce9ce (diff) |
various fixes from js strict mode testing
Diffstat (limited to 'src/framework.js')
-rw-r--r-- | src/framework.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/framework.js b/src/framework.js index 7adf43d3..1a98ca16 100644 --- a/src/framework.js +++ b/src/framework.js @@ -1,3 +1,5 @@ +//"use strict"; + // // A framework to make building Emscripten easier. Lets you write modular // code to handle specific issues. @@ -84,7 +86,7 @@ var MemoryDebugger = { if (DEBUG_MEMORY) MemoryDebugger.clear(); -Substrate = function(name_) { +function Substrate(name_) { this.name_ = name_; this.actors = {}; this.currUid = 1; @@ -234,7 +236,7 @@ var Framework = { currItem: null }; -Actor = function() { }; +function Actor() { }; Actor.prototype = { process: function(items) { var ret = []; |