git-svn-id: http://svn.openlayers.org/trunk/openlayers@10823 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
20 lines
656 B
JavaScript
20 lines
656 B
JavaScript
/* Copyright (c) 2006-2010 by OpenLayers Contributors (see authors.txt for
|
|
* full list of contributors). Published under the Clear BSD license.
|
|
* See http://svn.openlayers.org/trunk/openlayers/license.txt for the
|
|
* full text of the license. */
|
|
|
|
var OpenLayers = {
|
|
singleFile: true,
|
|
_getScriptLocation: (function() {
|
|
var s = document.getElementsByTagName('script');
|
|
var match = s[s.length-1].getAttribute("src").match(/(^|(.*?\/))(OpenLayers\.js)(\?|$)/);
|
|
var l = match ? match[1] : "";
|
|
return (function() { return l; });
|
|
})()
|
|
};
|
|
|
|
/**
|
|
* Constant: VERSION_NUMBER
|
|
*/
|
|
OpenLayers.VERSION_NUMBER="$Revision$";
|