components/code/src/command.rules.js
// Utility function to assign from object to another object.
Utility function to assign from object to another object.
Utility function to assign from object to another object .
function assign(to, from) {
		var keys = Object.keys(from);
		for (var i = 0; i < keys.length; i++) {
			to[keys[i]] = from[keys[i]];
		}
		return to;
	}
function assign ( to , from ) { var keys = Object . keys ( from ) ; for ( var i = 0 ; i < keys . length ; i ++ ) { to [ keys [ i ] ] = from [ keys [ i ] ] ; } return to ; }
Utility function to assign from object to another object.
Utility function to assign from object to another object .