git-svn-id: http://svn.openlayers.org/trunk/openlayers@10822 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
16 lines
541 B
JavaScript
16 lines
541 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 l = s[s.length-1].getAttribute("src").match(/(^|(.*?\/))(OpenLayers\.js)(\?|$)/)[1];
|
|
return (function() { return l; });
|
|
})()
|
|
};
|
|
|
|
|