|  | @@ -703,7 +703,7 @@ var DataManager = {
 | 
	
		
			
				|  |  |  			children.each( function(child) {
 | 
	
		
			
				|  |  |  				resource.removeChild(child);
 | 
	
		
			
				|  |  |  			});
 | 
	
		
			
				|  |  | -		};
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  	__persistShape: function(shape) {
 | 
	
	
		
			
				|  | @@ -933,7 +933,7 @@ var DataManager = {
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  |  			var children = $A(node.childNodes);
 | 
	
		
			
				|  |  |  			var attributes = $A(node.attributes);
 | 
	
		
			
				|  |  | -			var clazz = new String(node.getAttribute('class'));
 | 
	
		
			
				|  |  | +			var clazz = String(node.getAttribute('class'));
 | 
	
		
			
				|  |  |  			var ignore = clazz.split(' ').member('transient');
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  			// ignore transients.
 | 
	
	
		
			
				|  | @@ -1081,7 +1081,7 @@ var DataManager = {
 | 
	
		
			
				|  |  |  		if(continueFrom.nodeType != continueFrom.ELEMENT_NODE)
 | 
	
		
			
				|  |  |  			return false;
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  | -		var classes = new String(continueFrom.getAttribute('class'));
 | 
	
		
			
				|  |  | +		var classes = String(continueFrom.getAttribute('class'));
 | 
	
		
			
				|  |  |  		var children = $A(continueFrom.childNodes);
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		if(classes.include(triple.predicate.prefix + '-' + triple.predicate.name)) {
 | 
	
	
		
			
				|  | @@ -1220,7 +1220,7 @@ var DataManager = {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  Kickstart.register(DataManager.init);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -function assert(expr, m) { if(!expr) throw m; };
 | 
	
		
			
				|  |  | +function assert(expr, m) { if(!expr) throw m; }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  function DMCommand(action, triple) {
 | 
	
		
			
				|  |  |  	
 | 
	
	
		
			
				|  | @@ -1275,7 +1275,7 @@ function DMCommandHandler(nextHandler) {
 | 
	
		
			
				|  |  |  	 * @param {Object} command The command object to process.
 | 
	
		
			
				|  |  |  	 */
 | 
	
		
			
				|  |  |  	this.process = function(command) { return false; };
 | 
	
		
			
				|  |  | -};
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * This Handler manages the addition and the removal of meta elements in the
 | 
	
	
		
			
				|  | @@ -1298,7 +1298,7 @@ function MetaTagHandler(next) {
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  	};
 | 
	
		
			
				|  |  | -};
 | 
	
		
			
				|  |  | +}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  var chain =	new MetaTagHandler();
 | 
	
		
			
				|  |  |  var command = new DMCommand(TRIPLE_ADD, new ERDF.Triple(
 | 
	
	
		
			
				|  | @@ -2298,7 +2298,7 @@ ORYX = Object.extend(ORYX, {
 | 
	
		
			
				|  |  |  						// get all attributes from the node and set to global properties
 | 
	
		
			
				|  |  |  						var attributes = $A(prop.attributes)
 | 
	
		
			
				|  |  |  						attributes.each(function(attr){property[attr.nodeName] = attr.nodeValue});				
 | 
	
		
			
				|  |  | -						if(attributes.length > 0) { globalProperties.push(property) };				
 | 
	
		
			
				|  |  | +						if(attributes.length > 0) { globalProperties.push(property) }
 | 
	
		
			
				|  |  |  					});
 | 
	
		
			
				|  |  |  				});
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -2335,7 +2335,7 @@ ORYX = Object.extend(ORYX, {
 | 
	
		
			
				|  |  |  						// Get all Attributes from the Node			
 | 
	
		
			
				|  |  |  						var attributes = $A(prop.attributes)
 | 
	
		
			
				|  |  |  						attributes.each(function(attr){property[attr.nodeName] = attr.nodeValue});				
 | 
	
		
			
				|  |  | -						if(attributes.length > 0) { properties.push(property) };	
 | 
	
		
			
				|  |  | +						if(attributes.length > 0) { properties.push(property) }
 | 
	
		
			
				|  |  |  					
 | 
	
		
			
				|  |  |  					});
 | 
	
		
			
				|  |  |  					
 | 
	
	
		
			
				|  | @@ -3065,7 +3065,7 @@ ORYX.Core.SVG.MinMaxPathHandler = Clazz.extend({
 | 
	
		
			
				|  |  |  	 * closePath - z or Z
 | 
	
		
			
				|  |  |  	 */
 | 
	
		
			
				|  |  |  	closePath: function() {
 | 
	
		
			
				|  |  | -	    return;// do nothing
 | 
	
		
			
				|  |  | +	    // do nothing
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  });/*
 | 
	
	
		
			
				|  | @@ -3341,7 +3341,7 @@ ORYX.Core.SVG.PointsPathHandler = Clazz.extend({
 | 
	
		
			
				|  |  |  	 * closePath - z or Z
 | 
	
		
			
				|  |  |  	 */
 | 
	
		
			
				|  |  |  	closePath: function() {
 | 
	
		
			
				|  |  | -	    return;// do nothing
 | 
	
		
			
				|  |  | +	    // do nothing
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  });/*
 | 
	
	
		
			
				|  | @@ -5061,7 +5061,7 @@ ORYX.Core.SVG.Label = Clazz.extend({
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		if (!fontSize) {
 | 
	
		
			
				|  |  |  			//because this only works in firefox 3, all other browser use the default line height
 | 
	
		
			
				|  |  | -			if (tspans[0] && /Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent) && new Number(RegExp.$1) >= 3) {
 | 
	
		
			
				|  |  | +			if (tspans[0] && /Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent) && Number(RegExp.$1) >= 3) {
 | 
	
		
			
				|  |  |  				fontSize = tspans[0].getExtentOfChar(0).height;
 | 
	
		
			
				|  |  |  			}
 | 
	
		
			
				|  |  |  			else {
 | 
	
	
		
			
				|  | @@ -5524,7 +5524,7 @@ ORYX.Core.Math.getPointOfIntersectionPointLine = function(
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  	}
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  | -	pointOfIntersection = new Object();
 | 
	
		
			
				|  |  | +	pointOfIntersection = {};
 | 
	
		
			
				|  |  |  	pointOfIntersection.x = lineP1.x + u * (lineP2.x - lineP1.x);
 | 
	
		
			
				|  |  |  	pointOfIntersection.y = lineP1.y + u * (lineP2.y - lineP1.y);	
 | 
	
		
			
				|  |  |  	
 | 
	
	
		
			
				|  | @@ -5821,7 +5821,7 @@ ORYX.Core.StencilSet.Stencil = {
 | 
	
		
			
				|  |  |  			throw "ORYX.Core.StencilSet.Stencil(construct): Title is not defined.";
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		if(!this._jsonStencil.description) { this._jsonStencil.description = ""; };
 | 
	
		
			
				|  |  | +		if(!this._jsonStencil.description) { this._jsonStencil.description = ""; }
 | 
	
		
			
				|  |  |  		if(!this._jsonStencil.groups) { this._jsonStencil.groups = []; }
 | 
	
		
			
				|  |  |  		if(!this._jsonStencil.roles) { this._jsonStencil.roles = []; }
 | 
	
		
			
				|  |  |  		
 | 
	
	
		
			
				|  | @@ -6901,7 +6901,7 @@ ORYX.Core.StencilSet.Rules = {
 | 
	
		
			
				|  |  |  			stencilsets.each(function(ss){
 | 
	
		
			
				|  |  |  				this.initializeRules(ss);
 | 
	
		
			
				|  |  |  			}.bind(this));
 | 
	
		
			
				|  |  | -			return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  		}
 | 
	
		
			
				|  |  |  		else {
 | 
	
		
			
				|  |  |  			this._stencilSets.push(stencilSet);
 | 
	
	
		
			
				|  | @@ -9010,7 +9010,7 @@ ORYX.Core.Bounds = {
 | 
	
		
			
				|  |  |  		if( (this.a.x === undefined) && (this.a.y === undefined) &&
 | 
	
		
			
				|  |  |  			(this.b.x === undefined) && (this.b.y === undefined)) {
 | 
	
		
			
				|  |  |  			return b;
 | 
	
		
			
				|  |  | -		};
 | 
	
		
			
				|  |  | +		}
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		var cx = Math.min(this.a.x,b.a.x);
 | 
	
		
			
				|  |  |  		var cy = Math.min(this.a.y,b.a.y);
 | 
	
	
		
			
				|  | @@ -9864,7 +9864,7 @@ ORYX.Core.AbstractShape = ORYX.Core.UIObject.extend(
 | 
	
		
			
				|  |  |  			switch(prefix + "-" + name){
 | 
	
		
			
				|  |  |  				case 'raziel-parent': 
 | 
	
		
			
				|  |  |  							// Set parent
 | 
	
		
			
				|  |  | -							if(!this.parent) {break};
 | 
	
		
			
				|  |  | +							if(!this.parent) {break}
 | 
	
		
			
				|  |  |  							
 | 
	
		
			
				|  |  |  							// Set outgoing Shape
 | 
	
		
			
				|  |  |  							var parent = this.getCanvas().getChildShapeByResourceId(value);
 | 
	
	
		
			
				|  | @@ -10627,7 +10627,7 @@ ORYX.Core.Canvas = ORYX.Core.AbstractShape.extend({
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	setSize: function(size, dontSetBounds) {
 | 
	
		
			
				|  |  | -		if(!size || !size.width || !size.height){return;};
 | 
	
		
			
				|  |  | +		if(!size || !size.width || !size.height){return;}
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		if(this.rootNode.parentNode){
 | 
	
		
			
				|  |  |  			this.rootNode.parentNode.style.width = size.width + 'px';
 | 
	
	
		
			
				|  | @@ -12302,11 +12302,11 @@ ORYX.Editor = {
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		// prevent event from bubbling, return.
 | 
	
		
			
				|  |  |  		//Event.stop(event);
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	_handleMouseMove: function(event, uiObj) {
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	_handleMouseUp: function(event, uiObj) {
 | 
	
	
		
			
				|  | @@ -12323,11 +12323,11 @@ ORYX.Editor = {
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	_handleMouseHover: function(event, uiObj) {
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	_handleMouseOut: function(event, uiObj) {
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	/**
 | 
	
	
		
			
				|  | @@ -14669,7 +14669,7 @@ ORYX.Core.Node = {
 | 
	
		
			
				|  |  |  		var outgoing = data.findAll(function(ser){ return (ser.prefix+"-"+ser.name) == 'raziel-outgoing'});
 | 
	
		
			
				|  |  |  		outgoing.each((function(obj){
 | 
	
		
			
				|  |  |  			// TODO: Look at Canvas
 | 
	
		
			
				|  |  | -			if(!this.parent) {return};
 | 
	
		
			
				|  |  | +			if(!this.parent) {return}
 | 
	
		
			
				|  |  |  								
 | 
	
		
			
				|  |  |  			// Set outgoing Shape
 | 
	
		
			
				|  |  |  			var next = this.getCanvas().getChildShapeByResourceId(obj.value);
 | 
	
	
		
			
				|  | @@ -15471,7 +15471,7 @@ ORYX.Core.Edge = {
 | 
	
		
			
				|  |  |  			this.relativizePoint(startPoint);
 | 
	
		
			
				|  |  |  			this.relativizePoint(endPoint);
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  | -			var newNodePosition = new Object();
 | 
	
		
			
				|  |  | +			var newNodePosition = {};
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  |  			/* Calculate new x-coordinate */
 | 
	
		
			
				|  |  |  			newNodePosition.x = startPoint.x 
 | 
	
	
		
			
				|  | @@ -15504,17 +15504,17 @@ ORYX.Core.Edge = {
 | 
	
		
			
				|  |  |  	 */
 | 
	
		
			
				|  |  |  	calculatePositionOfAttachedChildNode: function(node) {
 | 
	
		
			
				|  |  |  		/* Initialize position */
 | 
	
		
			
				|  |  | -		var position = new Object();
 | 
	
		
			
				|  |  | +		var position = {};
 | 
	
		
			
				|  |  |  		position.x = 0;
 | 
	
		
			
				|  |  |  		position.y = 0;
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		/* Case: Node was just added */
 | 
	
		
			
				|  |  |  		if(!this.attachedNodePositionData[node.getId()]) {
 | 
	
		
			
				|  |  | -			this.attachedNodePositionData[node.getId()] = new Object();
 | 
	
		
			
				|  |  | +			this.attachedNodePositionData[node.getId()] = {};
 | 
	
		
			
				|  |  |  			this.attachedNodePositionData[node.getId()]
 | 
	
		
			
				|  |  |  					.relativDistanceFromDocker1 = 0;
 | 
	
		
			
				|  |  |  			this.attachedNodePositionData[node.getId()].node = node;
 | 
	
		
			
				|  |  | -			this.attachedNodePositionData[node.getId()].segment = new Object();
 | 
	
		
			
				|  |  | +			this.attachedNodePositionData[node.getId()].segment = {};
 | 
	
		
			
				|  |  |  			this.findEdgeSegmentForNode(node);
 | 
	
		
			
				|  |  |  		}else if(node.isChanged) {
 | 
	
		
			
				|  |  |  			this.findEdgeSegmentForNode(node);
 | 
	
	
		
			
				|  | @@ -16684,7 +16684,7 @@ ORYX.Core.Edge = {
 | 
	
		
			
				|  |  |  		var outgoing = data.findAll(function(ser){ return (ser.prefix+"-"+ser.name) == 'raziel-outgoing'});
 | 
	
		
			
				|  |  |  		outgoing.each((function(obj){
 | 
	
		
			
				|  |  |  			// TODO: Look at Canvas
 | 
	
		
			
				|  |  | -			if(!this.parent) {return};
 | 
	
		
			
				|  |  | +			if(!this.parent) {return}
 | 
	
		
			
				|  |  |  								
 | 
	
		
			
				|  |  |  			// Set outgoing Shape
 | 
	
		
			
				|  |  |  			var next = this.getCanvas().getChildShapeByResourceId(obj.value);
 | 
	
	
		
			
				|  | @@ -17259,7 +17259,7 @@ ORYX.Plugins.AbstractPlugin = Clazz.extend({
 | 
	
		
			
				|  |  |  						edge.removeUnusedDockers();
 | 
	
		
			
				|  |  |  						if (this.isBendPointIncluded(edge)){
 | 
	
		
			
				|  |  |  							this.plugin.doLayout(edge);
 | 
	
		
			
				|  |  | -							return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  						}
 | 
	
		
			
				|  |  |  					}.bind(this));
 | 
	
		
			
				|  |  |  				
 | 
	
	
		
			
				|  | @@ -17495,7 +17495,7 @@ ORYX.Plugins.AbstractLayouter = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.Edit = Clazz.extend({
 | 
	
		
			
				|  |  |      
 | 
	
	
		
			
				|  | @@ -17979,7 +17979,7 @@ ORYX.Plugins.Edit.DeleteCommand = ORYX.Core.Command.extend({
 | 
	
		
			
				|  |  |   * @name ORYX.Plugins
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * The view plugin offers all of zooming functionality accessible over the 
 | 
	
	
		
			
				|  | @@ -18204,8 +18204,8 @@ ORYX.Plugins.View = Clazz.extend(ORYX.Plugins.View);
 | 
	
		
			
				|  |  |   * pursuant to a written agreement and any use of this program without such an
 | 
	
		
			
				|  |  |   * agreement is prohibited.
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  | -if(!Signavio){ var Signavio = {} };
 | 
	
		
			
				|  |  | -	if (!Signavio.Core) { Signavio.Core = {} };
 | 
	
		
			
				|  |  | +if(!Signavio){ var Signavio = {} }
 | 
	
		
			
				|  |  | +	if (!Signavio.Core) { Signavio.Core = {} }
 | 
	
		
			
				|  |  |  	Signavio.Core.Version = "1.0";
 | 
	
		
			
				|  |  |  			/*
 | 
	
		
			
				|  |  |   * Copyright 2005-2014 Alfresco Software, Ltd. All rights reserved.
 | 
	
	
		
			
				|  | @@ -18218,19 +18218,19 @@ if(!Signavio){ var Signavio = {} };
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!Signavio) {
 | 
	
		
			
				|  |  | -	var Signavio = new Object();
 | 
	
		
			
				|  |  | +	var Signavio = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!Signavio.Plugins) {
 | 
	
		
			
				|  |  | -	Signavio.Plugins = new Object();
 | 
	
		
			
				|  |  | +	Signavio.Plugins = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!Signavio.Plugins.Utils) {
 | 
	
		
			
				|  |  | -	Signavio.Plugins.Utils = new Object();
 | 
	
		
			
				|  |  | +	Signavio.Plugins.Utils = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!Signavio.Helper) {
 | 
	
		
			
				|  |  | -	Signavio.Helper = new Object();
 | 
	
		
			
				|  |  | +	Signavio.Helper = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -18271,7 +18271,7 @@ new function() {
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) {
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
	
		
			
				|  | @@ -18350,7 +18350,7 @@ ORYX.Plugins.Loading = Clazz.extend(ORYX.Plugins.Loading);
 | 
	
		
			
				|  |  |   * agreement is prohibited.
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) {
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /*
 | 
	
	
		
			
				|  | @@ -18580,7 +18580,7 @@ ORYX.Plugins.CanvasResizeButton = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.RenameShapes = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -18858,7 +18858,7 @@ ORYX.Plugins.RenameShapes = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  /**
 | 
	
		
			
				|  |  |   * Supports EPCs by offering a syntax check and export and import ability..
 | 
	
	
		
			
				|  | @@ -18992,12 +18992,12 @@ Array.prototype.insertFrom = function(from, to){
 | 
	
		
			
				|  |  |  	newA.push(el);
 | 
	
		
			
				|  |  |  	if(old.length > to ){
 | 
	
		
			
				|  |  |  		newA 	= newA.concat(old.slice(to))
 | 
	
		
			
				|  |  | -	};
 | 
	
		
			
				|  |  | +	}
 | 
	
		
			
				|  |  |  	return newA;
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.Arrangement = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -19446,7 +19446,7 @@ ORYX.Plugins.Arrangement = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.Save = Clazz.extend({
 | 
	
		
			
				|  |  |  	
 | 
	
	
		
			
				|  | @@ -19517,7 +19517,7 @@ ORYX.Plugins.Save = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -19587,7 +19587,7 @@ ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  	handleMouseDown: function(event, uiObj) {
 | 
	
		
			
				|  |  |  		// If the selection Bounds not intialized and the uiObj is not member of current selectio
 | 
	
		
			
				|  |  |  		// then return
 | 
	
		
			
				|  |  | -		if(!this.dragBounds || !this.currentShapes.member(uiObj) || !this.toMoveShapes.length) {return;};
 | 
	
		
			
				|  |  | +		if(!this.dragBounds || !this.currentShapes.member(uiObj) || !this.toMoveShapes.length) {return;}
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  |  		// Start Dragging
 | 
	
		
			
				|  |  |  		this.dragEnable = true;
 | 
	
	
		
			
				|  | @@ -19615,7 +19615,7 @@ ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  		// Register on Global Mouse-UP Event
 | 
	
		
			
				|  |  |  		document.documentElement.addEventListener(ORYX.CONFIG.EVENT_MOUSEUP, this.callbackMouseUp, true);			
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	/**
 | 
	
	
		
			
				|  | @@ -19735,7 +19735,7 @@ ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  		document.documentElement.removeEventListener(ORYX.CONFIG.EVENT_MOUSEUP, this.callbackMouseUp, true);	
 | 
	
		
			
				|  |  |  		document.documentElement.removeEventListener(ORYX.CONFIG.EVENT_MOUSEMOVE, this.callbackMouseMove, false);				
 | 
	
		
			
				|  |  |  			
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  	/**
 | 
	
	
		
			
				|  | @@ -19744,7 +19744,7 @@ ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  	*/
 | 
	
		
			
				|  |  |  	handleMouseMove: function(event) {
 | 
	
		
			
				|  |  |  		// If dragging is not enabled, go return
 | 
	
		
			
				|  |  | -		if(!this.dragEnable) { return };
 | 
	
		
			
				|  |  | +		if(!this.dragEnable) { return }
 | 
	
		
			
				|  |  |  		// If Dragging is initialized
 | 
	
		
			
				|  |  |  		if(this.dragIntialized) {
 | 
	
		
			
				|  |  |  			// Raise Event: Drag will be started
 | 
	
	
		
			
				|  | @@ -19910,7 +19910,7 @@ ORYX.Plugins.DragDropResize = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		// Stop the Event
 | 
	
		
			
				|  |  |  		//Event.stop(event);
 | 
	
		
			
				|  |  | -		return;
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  	},
 | 
	
		
			
				|  |  |  	
 | 
	
		
			
				|  |  |  //	/**
 | 
	
	
		
			
				|  | @@ -20815,10 +20815,10 @@ ORYX.Plugins.Resizer = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		var upL = this.bounds.upperLeft();
 | 
	
		
			
				|  |  |  		
 | 
	
		
			
				|  |  | -		if(this.bounds.width() < this.minSize.width)	{ this.bounds.set(upL.x, upL.y, upL.x + this.minSize.width, upL.y + this.bounds.height());};
 | 
	
		
			
				|  |  | -		if(this.bounds.height() < this.minSize.height)	{ this.bounds.set(upL.x, upL.y, upL.x + this.bounds.width(), upL.y + this.minSize.height);};
 | 
	
		
			
				|  |  | -		if(this.bounds.width() > this.maxSize.width)	{ this.bounds.set(upL.x, upL.y, upL.x + this.maxSize.width, upL.y + this.bounds.height());};
 | 
	
		
			
				|  |  | -		if(this.bounds.height() > this.maxSize.height)	{ this.bounds.set(upL.x, upL.y, upL.x + this.bounds.width(), upL.y + this.maxSize.height);};
 | 
	
		
			
				|  |  | +		if(this.bounds.width() < this.minSize.width)	{ this.bounds.set(upL.x, upL.y, upL.x + this.minSize.width, upL.y + this.bounds.height());}
 | 
	
		
			
				|  |  | +		if(this.bounds.height() < this.minSize.height)	{ this.bounds.set(upL.x, upL.y, upL.x + this.bounds.width(), upL.y + this.minSize.height);}
 | 
	
		
			
				|  |  | +		if(this.bounds.width() > this.maxSize.width)	{ this.bounds.set(upL.x, upL.y, upL.x + this.maxSize.width, upL.y + this.bounds.height());}
 | 
	
		
			
				|  |  | +		if(this.bounds.height() > this.maxSize.height)	{ this.bounds.set(upL.x, upL.y, upL.x + this.bounds.width(), upL.y + this.maxSize.height);}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  		var a = this.canvasNode.getScreenCTM();
 | 
	
		
			
				|  |  |  	    
 | 
	
	
		
			
				|  | @@ -21052,7 +21052,7 @@ ORYX.Core.Command.Move = ORYX.Core.Command.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.DragDocker = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -21384,7 +21384,7 @@ ORYX.Plugins.DragDocker = Clazz.extend({
 | 
	
		
			
				|  |  |  				this.docker.parent.dockers.each((function(docker){
 | 
	
		
			
				|  |  |  					if (this.docker == docker) {
 | 
	
		
			
				|  |  |  						return
 | 
	
		
			
				|  |  | -					};
 | 
	
		
			
				|  |  | +					}
 | 
	
		
			
				|  |  |  					
 | 
	
		
			
				|  |  |  					var center = docker.referencePoint ? docker.getAbsoluteReferencePoint() : docker.bounds.center();
 | 
	
		
			
				|  |  |  					
 | 
	
	
		
			
				|  | @@ -21606,7 +21606,7 @@ ORYX.Plugins.DragDocker = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.AddDocker = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -21738,7 +21738,7 @@ ORYX.Plugins.AddDocker = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |   ORYX.Plugins.SelectionFrame = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -21946,7 +21946,7 @@ if(!ORYX.Plugins)
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object(); 
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.ShapeHighlighting = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -22185,7 +22185,7 @@ ORYX.Plugins.HighlightingSelectedShapes = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.Overlay = Clazz.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -22500,7 +22500,7 @@ ORYX.Plugins.Overlay = Clazz.extend({
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if (!ORYX.Plugins) 
 | 
	
		
			
				|  |  | -    ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +    ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  ORYX.Plugins.KeysMove = ORYX.Plugins.AbstractPlugin.extend({
 | 
	
		
			
				|  |  |  
 | 
	
	
		
			
				|  | @@ -23105,7 +23105,7 @@ new function(){
 | 
	
		
			
				|  |  |   */
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if(!ORYX.Plugins)
 | 
	
		
			
				|  |  | -	ORYX.Plugins = new Object();
 | 
	
		
			
				|  |  | +	ORYX.Plugins = {};
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  new function(){
 | 
	
		
			
				|  |  |  	
 |