meteor/backdoor.js
function align(code) {
  if (typeof code === 'string') {
    code = code.split('\n');
  }
  var match = code[code.length-1].match(/^(\s+)\}/);
  var regex = null;
  if (match && code[0].match(/^function/)) {
    regex = new RegExp("^" + match[1]);
    return code.map(function (line) {
      return line.replace(regex, "");
    });
  }
  return code;
}
function align(code) {
  if (typeof code === 'string') {
    code = code.split('\n');
  }
  var match = code[code.length-1].match(/^(\s+)\}/);
  var regex = null;
  if (match && code[0].match(/^function/)) {
    regex = new RegExp("^" + match[1]);
    return code.map(function (line) {
      return line.replace(regex, "");
    });
  }
  return code;
}
function align ( code ) { if ( typeof code === 'string' ) { code = code . split ( '\n' ) ; } var match = code [ code . length - 1 ] . match ( / ^(\s+)\} / ) ; var regex = null ; if ( match && code [ 0 ] . match ( / ^function / ) ) { regex = new RegExp ( "^" + match [ 1 ] ) ; return code . map ( function ( line ) { return line . replace ( regex , "" ) ; } ) ; } return code ; }
Fixes the source code indentation.

@param {(string|string[])} code
@returns {string[]}
Fixes the source code indentation .