From 37298e2f266bb9d80ba15e6dd4a8551a435e4c3c Mon Sep 17 00:00:00 2001 From: Alon Zakai Date: Mon, 3 Mar 2014 10:41:35 -0800 Subject: add canvas.style.setProperty in headlessCanvas --- src/headlessCanvas.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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(){}, -- cgit v1.2.3-18-g5258