diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-06-05 16:36:48 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-06-05 16:36:48 -0700 |
commit | f2e0bb66bd085e282fb1067cf10b9bd9ef0af453 (patch) | |
tree | 7e9c00d222e35c89ab47445d4fa7198f39be4f5f /src | |
parent | 7a6a1ccfb86f86baa88268229ef06f9020d23853 (diff) |
PropertyBag
Diffstat (limited to 'src')
-rw-r--r-- | src/proxyWorker.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/proxyWorker.js b/src/proxyWorker.js index 50e54c1d..a5115893 100644 --- a/src/proxyWorker.js +++ b/src/proxyWorker.js @@ -1,3 +1,7 @@ +function PropertyBag() { + this.addProperty = function(){}; + this.removeProperty = function(){}; +}; function EventListener() { this.listeners = {}; @@ -85,6 +89,7 @@ document.createElement = function document_createElement(what) { right: canvas.boundingClientRect.right }; }; + canvas.style = new PropertyBag(); return canvas; } default: throw 'document.createElement ' + what; |