Commit ae1ae64b authored by jgould's avatar jgould

add method to conditions

parent 412a1421
...@@ -261,6 +261,9 @@ morpheus.HeatMapConditions.prototype = { ...@@ -261,6 +261,9 @@ morpheus.HeatMapConditions.prototype = {
insert: function (index, c) { insert: function (index, c) {
this.conditions.splice(index, 0, c); this.conditions.splice(index, 0, c);
}, },
add: function (c) {
this.conditions.push(c);
},
getConditions: function () { getConditions: function () {
return this.conditions; return this.conditions;
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment