From a06782ffb85de1f404549b41cea251a00b77fd50 Mon Sep 17 00:00:00 2001 From: Gunther Brunner Date: Wed, 16 Jul 2014 23:17:11 +0900 Subject: [PATCH] Added TODO for IE9. --- res/app/components/stf/screen/screen-directive.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/res/app/components/stf/screen/screen-directive.js b/res/app/components/stf/screen/screen-directive.js index 8ab9417b..17cf75bf 100644 --- a/res/app/components/stf/screen/screen-directive.js +++ b/res/app/components/stf/screen/screen-directive.js @@ -80,6 +80,8 @@ module.exports = function DeviceScreenDirective($document, ScalingService, Vendo boundingWidth = element[0].offsetWidth boundingHeight = element[0].offsetHeight + // TODO: element is an object HTMLUnknownElement in IE9 + // Developer error, let's try to reduce debug time if (!boundingWidth || !boundingHeight) { throw new Error(