Collecting image tile changes in the Image.js.

This commit is contained in:
tschaub
2012-01-02 11:40:50 -07:00
parent e11e4358fa
commit b7b0d6b712
3 changed files with 42 additions and 39 deletions
-28
View File
@@ -1435,34 +1435,6 @@ OpenLayers.BROWSER_NAME = (function() {
return name;
})();
(function() {
function testProp(props) {
var style = document.documentElement.style;
for (var i=0; i<props.length; i++) {
if(props[i] in style) {
return props[i];
}
}
return false;
}
/**
* Constant: TRANSITION
*/
OpenLayers.TRANSITION = testProp([
'transition', 'webkitTransition', 'MozTransition'
]);
/**
* Constant: OpenLayers.TRANSITION_END
*/
OpenLayers.TRANSITION_END = OpenLayers.TRANSITION === 'webkitTransition' ?
OpenLayers.TRANSITION + 'End' : 'transitionend';
})();
/**
* Function: getBrowserName
*