Commit a49f94fe by Alexander Kryklia

added none to allowed parameters in functions

parent b56174c8
...@@ -888,7 +888,8 @@ define('Graph', ['logme'], function (logme) { ...@@ -888,7 +888,8 @@ define('Graph', ['logme'], function (logme) {
// If this function is meant to be calculated for an // If this function is meant to be calculated for an
// element then skip it. // element then skip it.
if (obj['@output'].toLowerCase() === 'element') { if ((obj['@output'].toLowerCase() === 'element') ||
(obj['@output'].toLowerCase() === 'none')) {
return; return;
} }
...@@ -904,7 +905,7 @@ define('Graph', ['logme'], function (logme) { ...@@ -904,7 +905,7 @@ define('Graph', ['logme'], function (logme) {
else if (obj['@output'].toLowerCase() !== 'graph') { else if (obj['@output'].toLowerCase() !== 'graph') {
logme( logme(
'ERROR: Function "output" attribute can be ' + 'ERROR: Function "output" attribute can be ' +
'either "element", "plot_label", or "graph".' 'either "element", "plot_label", "none" or "graph".'
); );
return; return;
......
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