Skip to content

Commit

Permalink
removed Envjs.js2json and Envjs.json2js in favor of more standard JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcher committed Apr 28, 2010
1 parent ee203cb commit acaccf2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/platform/core/console.js
Expand Up @@ -20,21 +20,4 @@ Envjs.NONE = 3;
*/
Envjs.lineSource = function(e){};

/**
* @param {Object} js
* @param {Object} filter
* @param {Object} indentValue
*/
Envjs.js2json = function(js, filter, indentValue){
return JSON.stringify(js, filter, indentValue||'');
};


/**
* @param {Object} json
* @param {Object} filter
*/
Envjs.json2js = function(json, filter){
return JSON.parse(json, filter);
};

0 comments on commit acaccf2

Please sign in to comment.