diff options
author | Lorant Pinter <lorant.pinter@prezi.com> | 2013-03-03 02:24:11 +0100 |
---|---|---|
committer | Lorant Pinter <lorant.pinter@prezi.com> | 2013-03-03 02:24:11 +0100 |
commit | aa6f0ec91d5bc8727e9ab4a3c2f7286005e45929 (patch) | |
tree | 3ea68f1bc812ecfc42f68de8487a8df763e3e35e /src/runtime.js | |
parent | 0a4bc063c35aa5d70b7aaae72029b16a56432563 (diff) |
Added Runtime.removeFunction()
Diffstat (limited to 'src/runtime.js')
-rw-r--r-- | src/runtime.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/runtime.js b/src/runtime.js index e902d27b..fad09a80 100644 --- a/src/runtime.js +++ b/src/runtime.js @@ -365,6 +365,11 @@ var Runtime = { return ret; }, + removeFunction: function(index, func) { + var table = FUNCTION_TABLE; // TODO: support asm + table[index] = null; + }, + warnOnce: function(text) { if (!Runtime.warnOnce.shown) Runtime.warnOnce.shown = {}; if (!Runtime.warnOnce.shown[text]) { |