Commit 12425682 authored by Boris Kocherov's avatar Boris Kocherov

use .ca (Calculation or Volitile marker) property for Class definition instead return value

parent 44f8e06a
...@@ -534,7 +534,6 @@ ...@@ -534,7 +534,6 @@
} else { } else {
ret = new cError(cErrorType.not_available); ret = new cError(cErrorType.not_available);
} }
ret.ca = true;
return ret; return ret;
}; };
} }
...@@ -566,6 +565,7 @@ ...@@ -566,6 +565,7 @@
cCUBEMEMBER.prototype.constructor = cCUBEMEMBER; cCUBEMEMBER.prototype.constructor = cCUBEMEMBER;
cCUBEMEMBER.prototype.argumentsMin = 2; cCUBEMEMBER.prototype.argumentsMin = 2;
cCUBEMEMBER.prototype.argumentsMax = 3; cCUBEMEMBER.prototype.argumentsMax = 3;
cCUBEMEMBER.prototype.ca = true;
cCUBEMEMBER.prototype.CalculateLazy = function (queue, bbox, isDefName, ws) { cCUBEMEMBER.prototype.CalculateLazy = function (queue, bbox, isDefName, ws) {
var connection, var connection,
current_cell_id = ws._getCell(bbox.r1, bbox.c2).getId(), current_cell_id = ws._getCell(bbox.r1, bbox.c2).getId(),
...@@ -589,7 +589,6 @@ ...@@ -589,7 +589,6 @@
caption = members[last_id].caption; caption = members[last_id].caption;
} }
ret = new cString(caption); ret = new cString(caption);
ret.ca = true;
ret.cube_value = []; ret.cube_value = [];
members.forEach(function (member) { members.forEach(function (member) {
ret.cube_value.push(member.uname); ret.cube_value.push(member.uname);
...@@ -695,6 +694,7 @@ ...@@ -695,6 +694,7 @@
cCUBEVALUE.prototype.constructor = cCUBEVALUE; cCUBEVALUE.prototype.constructor = cCUBEVALUE;
cCUBEVALUE.prototype.argumentsMin = 2; cCUBEVALUE.prototype.argumentsMin = 2;
cCUBEVALUE.prototype.argumentsMax = 5; cCUBEVALUE.prototype.argumentsMax = 5;
cCUBEVALUE.prototype.ca = true;
cCUBEVALUE.prototype.CalculateLazy = function (queue, bbox, isDefName, ws) { cCUBEVALUE.prototype.CalculateLazy = function (queue, bbox, isDefName, ws) {
var scheme, var scheme,
connection, connection,
...@@ -794,7 +794,6 @@ ...@@ -794,7 +794,6 @@
p_d = p_d * axis.length; p_d = p_d * axis.length;
}); });
ret = new cNumber(cube.cells[cell_id]); ret = new cNumber(cube.cells[cell_id]);
ret.ca = true;
return ret; return ret;
}) })
.push(undefined, function (error) { .push(undefined, function (error) {
......
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