define([ "dojo/json", "./buildControlBase" ], function(json, bc){ var spaces = " ", indentFactor = 2, setIndentFactor = function(factor){ indentFactor = factor; }, indent = function(n, factor){ n = n * (factor || indentFactor); while(spaces.length1){ text+= "[" + newline; for(i = 0; i1){ text+= "{" + newline; for(i = 0; i