First new feature of v1.16.0: support for pointer locking (tested on Chrome and Firefox)

This commit is contained in:
Jeff Parsons 2014-11-12 12:16:06 -08:00 committed by jeffpar
commit de90d921ed
146 changed files with 7272 additions and 1000 deletions

View file

@ -498,6 +498,8 @@ Component.bindExternalControl = function(component, sControl, sBinding, sType)
}
};
if (window && !window.document.ELEMENT_NODE) window.document.ELEMENT_NODE = 1;
/**
* Component.bindComponentControls(component, element, sAppClass)
*
@ -888,9 +890,4 @@ Component.prototype = {
}
};
/*
* TODO: What was this work-around for? I forget....
*/
if (window && !window.document.ELEMENT_NODE) window.document.ELEMENT_NODE = 1;
if (typeof module !== 'undefined') module.exports = Component;