MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / clone

Method clone

src/common/style/CartoCSS.js:4245–4255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4243 }
4244
4245 clone() {
4246 var clone = Object.create(CartoCSS.Tree.Rule.prototype);
4247 clone.name = this.name;
4248 clone.value = this.value;
4249 clone.index = this.index;
4250 clone.instance = this.instance;
4251 clone.symbolizer = this.symbolizer;
4252 clone.filename = this.filename;
4253 clone.variable = this.variable;
4254 return clone;
4255 }
4256
4257 updateID() {
4258 return this.id = this.zoom + '#' + this.instance + '#' + this.name;

Callers 15

interpolateFunction · 0.45
BoundsSpec.jsFile · 0.45
VectorSpec.jsFile · 0.45
LonLatSpec.jsFile · 0.45
GeoTextSpec.jsFile · 0.45
CollectionSpec.jsFile · 0.45
UtilSpec.jsFile · 0.45
GraphicSpec.jsFile · 0.45
jquery.jsFile · 0.45
cordova-2.7.0.jsFile · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected