Implement changes of concat to concatMaborak

This commit is contained in:
Herbert Saal
2014-06-24 12:25:15 -04:00
parent 6b004ee7f7
commit 6ef94d6cb2
19 changed files with 119 additions and 119 deletions

View File

@@ -341,7 +341,7 @@ var processmap=function(){
base:function(xml)
{
this.panels.editor.loader.hide();
this.data.db=xml.xmlhttp.responseText.parseJSON().concat({
this.data.db=xml.xmlhttp.responseText.parseJSON().concatMaborak({
//derivations :["Sequential","Evaluate (manual)","Evaluate (auto)","Parallel (fork)","Parallel by evaluation (fork)","Parallel (join)"],
});
this.data.db.subprocess=[];
@@ -1192,10 +1192,10 @@ var processmap=function(){
//console.log(index);
options_task = {
tp:'task'
}.concat(options_task || {});
}.concatMaborak(options_task || {});
/*var options = {
color:((options_task.tp==='task')?"auto":"green")
}.concat(this.data.db[(options_task.tp=='task')?'task':'subprocess'][index] || {});*/
}.concatMaborak(this.data.db[(options_task.tp=='task')?'task':'subprocess'][index] || {});*/
//var options = this.data.db[(options_task.tp=='task')?'task':'subprocess'][index];
var options = this.data.db['task'][index];
@@ -2225,7 +2225,7 @@ var processmap=function(){
var vars = {
tas_uid:task.uid,
pro_uid:this.options.uid
}.concat((din)?{
}.concatMaborak((din)?{
type : din.type,
next_task: this.data.db.task[din.to].uid
}:{});
@@ -2385,7 +2385,7 @@ processmap.prototype={
mi :true,
ct :false,
hideMenu:true
}.concat(this.options || {});
}.concatMaborak(this.options || {});
this.options.target = this.parent.dom.element(this.options.target);
if(!this.validate()){return false;}
this.observers = {

View File

@@ -12,7 +12,7 @@ var stagesmap=function(){
render:{
base:function(xml) {
this.panels.editor.loader.hide();
this.data.db=xml.xmlhttp.responseText.parseJSON().concat({});
this.data.db=xml.xmlhttp.responseText.parseJSON().concatMaborak({});
if (this.options.rw===true) {
this.menu = new this.parent.module.app.menuRight();
this.menu.make({
@@ -433,7 +433,7 @@ stagesmap.prototype={
rw :true,
mi :true,
hideMenu:true
}.concat(this.options || {});
}.concatMaborak(this.options || {});
this.options.target = this.parent.dom.element(this.options.target);
if(!this.validate()){return false;}
this.observers = {