# HG changeset patch # User cin # Date 1504867510 -10800 # Node ID 5fd2a35d65c0d5191d0ef9d453639326a66e8a56 # Parent 3d4abbce4afcf66269d20fedec88bf91aa43c7cc# Parent 23be39fd385119d1d22b412f37f48b61b2cbbfed Слияние diff -r 3d4abbce4afc -r 5fd2a35d65c0 src/djol/WFSSource.js --- a/src/djol/WFSSource.js Fri Sep 08 13:44:45 2017 +0300 +++ b/src/djol/WFSSource.js Fri Sep 08 13:45:10 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, diff -r 3d4abbce4afc -r 5fd2a35d65c0 src/implab/text/template-compile.js --- a/src/implab/text/template-compile.js Fri Sep 08 13:44:45 2017 +0300 +++ b/src/implab/text/template-compile.js Fri Sep 08 13:45:10 2017 +0300 @@ -2,7 +2,7 @@ [ "dojo/request", "./format" ], function(request, format) { var compile = function(str) { - var code = "var p=[],print=function(){p.push(foramt.apply(null,arguments));};" + + var code = "var p=[],print=function(){p.push(format.apply(null,arguments));};" + // Introduce the data as local variables using with(){} "with(obj){p.push('" + // Convert the template into pure JavaScript