juijs-graph
Advanced tools
Comparing version 0.5.1-es6 to 0.5.2-es6
{ | ||
"name": "juijs-graph", | ||
"version": "0.5.1-es6", | ||
"version": "0.5.2-es6", | ||
"sideEffects": false, | ||
@@ -5,0 +5,0 @@ "description": "SVG-based JUI chart that can be used in the browser and Node.js. Support many types of charts. (Dashboard, Map, Topology, Full 3D)", |
@@ -288,9 +288,7 @@ import JUI from "juijs" | ||
var g = null, | ||
id = _.createId("gradient"); | ||
// var id = _.createId("gradient"); | ||
var id = "gradient"; | ||
obj.attr.id = id; | ||
g = SVGUtil.createObject(obj); | ||
var g = SVGUtil.createObject(obj); | ||
_defs.append(g); | ||
@@ -347,3 +345,4 @@ | ||
} else { | ||
obj.attr.id = obj.attr.id || _.createId('pattern-'); | ||
// obj.attr.id = obj.attr.id || _.createId('pattern-'); | ||
obj.attr.id = obj.attr.id || "pattern"; | ||
@@ -350,0 +349,0 @@ if (_hash[obj.attr.id]) { |
@@ -68,3 +68,4 @@ import JUI from "juijs" | ||
d = (Math.sin(radian) * depth) / 2, | ||
key = _.createId("cylinder3d"); | ||
// key = _.createId("cylinder3d"); | ||
key = "cylinder3d"; | ||
@@ -71,0 +72,0 @@ var g = self.group({}, function() { |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
719085
9196