aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2014-03-03 10:41:35 -0800
committerAlon Zakai <alonzakai@gmail.com>2014-03-03 10:41:35 -0800
commit37298e2f266bb9d80ba15e6dd4a8551a435e4c3c (patch)
tree10ea8c770a58ccee13234fbaa7f3a7fa895eac4a
parentd60e298132f99b052e2b4cebfcac950dd145cecb (diff)
add canvas.style.setProperty in headlessCanvas
-rw-r--r--src/headlessCanvas.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/headlessCanvas.js b/src/headlessCanvas.js
index 4bd17a7b..1eefe48e 100644
--- a/src/headlessCanvas.js
+++ b/src/headlessCanvas.js
@@ -598,7 +598,9 @@ function headlessCanvas() {
});
},
exitPointerLock: function(){},
- style: {},
+ style: {
+ setProperty: function(){}
+ },
eventListeners: {},
addEventListener: function(){},
removeEventListener: function(){},