use goog.global, restructure to have ol.parser.KML instead of ol.parser.ogc.KML

This commit is contained in:
Bart van den Eijnden
2013-04-10 10:17:28 +02:00
parent 577ebd6abe
commit 8cc70f35d9
18 changed files with 47 additions and 46 deletions

View File

@@ -9,7 +9,7 @@ goog.require('ol.parser.Parser');
* @extends {ol.parser.Parser}
*/
ol.parser.XML = function() {
if (window.ActiveXObject) {
if (goog.global.ActiveXObject) {
this.xmldom = new ActiveXObject('Microsoft.XMLDOM');
}
this.regExes = {