Moved OpenLayers.Vendor to OpenLayers.Util.vendorPrefix

This commit is contained in:
Gregers Gram Rygg
2012-06-27 13:28:43 +02:00
parent 36451db928
commit 7f32342ec3
7 changed files with 23 additions and 21 deletions

View File

@@ -5,7 +5,7 @@
* full text of the license.
*
* @requires OpenLayers/SingleFile.js
* @requires OpenLayers/Vendor.js
* @requires OpenLayers/Util/vendorPrefix.js
*/
/**
@@ -20,7 +20,7 @@ OpenLayers.Animation = (function(window) {
* Property: isNative
* {Boolean} true if a native requestAnimationFrame function is available
*/
var requestAnimationFrame = OpenLayers.Vendor.jsPrefix(window, "requestAnimationFrame");
var requestAnimationFrame = OpenLayers.Util.vendorPrefix.jsPrefix(window, "requestAnimationFrame");
var isNative = !!(requestAnimationFrame);
/**