diff src/djol/WFSSource.js @ 11:67a5de7581ad

fixed typo in djol/WFSSource
author cin
date Mon, 21 Aug 2017 18:06:30 +0300
parents f0035923ff3e
children f750c89976d3
line wrap: on
line diff
--- a/src/djol/WFSSource.js	Mon Aug 21 18:03:00 2017 +0300
+++ b/src/djol/WFSSource.js	Mon Aug 21 18:06:30 2017 +0300
@@ -11,9 +11,9 @@
         }
 
         safe.argumentNotNull(wfs, "wfsURL");
-        safe.argumentNotEmpty(featurePrefix, "featurePrefix");
-        safe.argumentNotEmpty(featureNS, "featureNS");
-        safe.argumentNotEmpty(featureType, "featureType");
+        safe.argumentNotEmptyString(featurePrefix, "featurePrefix");
+        safe.argumentNotEmptyString(featureNS, "featureNS");
+        safe.argumentNotEmptyString(featureType, "featureType");
 
         var format = new ol.format.WFS({
             featureNS : featureNS,