Remove function no longer used

This commit is contained in:
Kevin Giszewski
2014-01-19 08:14:19 -05:00
parent acc27c1976
commit 41c43f1b7e
-15
View File
@@ -157,21 +157,6 @@
//ini
$scope.focusFieldset();
//helper returns valid JS or null
function getValidJson(variable, json)
{
if(!json) return null;
try {
return eval("(" + json + ")");
}
catch (e) {
console.log("There was an error while using 'eval' on " + variable);
console.log(json);
return null;
}
}
//developerMode helpers
$scope.archetypeRenderModel.toString = stringify;