Remove goog.dom

This commit is contained in:
nicholas
2016-03-26 23:13:10 +13:00
committed by Nicholas L
parent 29c8af7559
commit 6b465902cd
37 changed files with 446 additions and 320 deletions

View File

@@ -2521,7 +2521,7 @@ describe('ol.format.KML', function() {
describe('error handling', function() {
it('should ignore invalid coordinates', function() {
var doc = goog.dom.xml.loadXml('<coordinates>INVALID</coordinates>');
var doc = new DOMParser().parseFromString('<coordinates>INVALID</coordinates>', 'application/xml');
var node = doc.firstChild;
expect(ol.format.KML.readFlatCoordinates_(node)).to.be(undefined);
});
@@ -2834,7 +2834,6 @@ describe('ol.format.KML', function() {
goog.require('ol.array');
goog.require('goog.dom.xml');
goog.require('ol.Feature');
goog.require('ol.format.GeoJSON');
goog.require('ol.format.KML');