vendor/assets/vis/graph/Groups.js in vis-rails-0.0.6 vs vendor/assets/vis/graph/Groups.js in vis-rails-1.0.0
- old
+ new
@@ -72,9 +72,9 @@
* @return {Object} group The created group object
*/
Groups.prototype.add = function (groupname, style) {
this.groups[groupname] = style;
if (style.color) {
- style.color = Node.parseColor(style.color);
+ style.color = util.parseColor(style.color);
}
return style;
};