if you rename 'element' to 'el' in demo.js
`var openvv = new OpenVV(), el = document.getElementById('elementToMeasure');
var executor = openvv
.measureElement(el) ...`
you will get exception:
MeasurementExecutor.js:164 Uncaught ReferenceError: element is not defined at MeasurementExecutor._instantiateTechnique (MeasurementExecutor.js:164) at Array.map (<anonymous>) at MeasurementExecutor._selectTechnique (MeasurementExecutor.js:153) at new MeasurementExecutor (MeasurementExecutor.js:34) at OpenVV.measureElement (OpenVV.js:28) at demo.js:22
I have a patch PR for it, will add it a bit later...
if you rename 'element' to 'el' in demo.js `var openvv = new OpenVV(), el = document.getElementById('elementToMeasure');
var executor = openvv .measureElement(el) ...`
you will get exception:
MeasurementExecutor.js:164 Uncaught ReferenceError: element is not defined at MeasurementExecutor._instantiateTechnique (MeasurementExecutor.js:164) at Array.map (<anonymous>) at MeasurementExecutor._selectTechnique (MeasurementExecutor.js:153) at new MeasurementExecutor (MeasurementExecutor.js:34) at OpenVV.measureElement (OpenVV.js:28) at demo.js:22
I have a patch PR for it, will add it a bit later...