@maptalks/function-type
Advanced tools
+8
-8
@@ -7,4 +7,4 @@ /*eslint-disable no-var, prefer-const*/ | ||
| fun = function () { return parameters; }; | ||
| fun.isFeatureConstant = true; | ||
| fun.isZoomConstant = true; | ||
| // fun.isFeatureConstant = true; | ||
| // fun.isZoomConstant = true; | ||
@@ -53,4 +53,4 @@ } else { | ||
| }; | ||
| fun.isFeatureConstant = false; | ||
| fun.isZoomConstant = false; | ||
| // fun.isFeatureConstant = false; | ||
| // fun.isZoomConstant = false; | ||
@@ -61,4 +61,4 @@ } else if (zoomDependent) { | ||
| }; | ||
| fun.isFeatureConstant = true; | ||
| fun.isZoomConstant = false; | ||
| // fun.isFeatureConstant = true; | ||
| // fun.isZoomConstant = false; | ||
| } else { | ||
@@ -68,4 +68,4 @@ fun = function (zoom, feature) { | ||
| }; | ||
| fun.isFeatureConstant = false; | ||
| fun.isZoomConstant = true; | ||
| // fun.isFeatureConstant = false; | ||
| // fun.isZoomConstant = true; | ||
| } | ||
@@ -72,0 +72,0 @@ } |
+1
-1
| { | ||
| "name": "@maptalks/function-type", | ||
| "version": "1.1.0", | ||
| "version": "1.1.1", | ||
| "main": "./index.js", | ||
@@ -5,0 +5,0 @@ "module": "./index.js", |
12607
0.19%