Remove ol.xml.makeParsersNS and use ol.xml.makeStructureNS instead
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
// FIXME Remove ol.xml.makeParsersNS, and use ol.xml.makeStructureNS instead.
|
||||
|
||||
goog.provide('ol.xml');
|
||||
|
||||
goog.require('goog.array');
|
||||
@@ -497,20 +495,6 @@ ol.xml.makeObjectPropertySetter =
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Make a parserNS hash.
|
||||
* @param {Array.<string>} namespaceURIs Namespace URIs.
|
||||
* @param {Object.<string, ol.xml.Parser>} parsers Parsers.
|
||||
* @param {Object.<string, Object.<string, ol.xml.Parser>>=} opt_parsersNS
|
||||
* ParsersNS.
|
||||
* @return {Object.<string, Object.<string, ol.xml.Parser>>} Parsers NS.
|
||||
*/
|
||||
ol.xml.makeParsersNS = function(namespaceURIs, parsers, opt_parsersNS) {
|
||||
return /** @type {Object.<string, Object.<string, ol.xml.Parser>>} */ (
|
||||
ol.xml.makeStructureNS(namespaceURIs, parsers, opt_parsersNS));
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* Create a serializer that appends nodes written by its `nodeWriter` to its
|
||||
* designated parent. The parent is the `node` of the
|
||||
|
||||
Reference in New Issue
Block a user