diff options
| author | Misko Hevery | 2011-10-07 11:27:49 -0700 | 
|---|---|---|
| committer | Igor Minar | 2011-10-11 11:01:46 -0700 | 
| commit | fd822bdaf9d04e522aaa5400b673f333190abe98 (patch) | |
| tree | 451cd26d3f7da862692d6c56e6e8f235824c180a /docs/src/writer.js | |
| parent | 4f78fd692c0ec51241476e6be9a4df06cd62fdd6 (diff) | |
| download | angular.js-fd822bdaf9d04e522aaa5400b673f333190abe98.tar.bz2 | |
chore(formating): clean code to be function() {
Diffstat (limited to 'docs/src/writer.js')
| -rw-r--r-- | docs/src/writer.js | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/docs/src/writer.js b/docs/src/writer.js index 85d797ea..e5dff59f 100644 --- a/docs/src/writer.js +++ b/docs/src/writer.js @@ -18,7 +18,7 @@ exports.output = function(file, content) {  };  //recursively create directory -exports.makeDir = function (path) { +exports.makeDir = function(path) {    var parts = path.split(/\//);    var path = ".";    //Sequentially create directories @@ -99,7 +99,7 @@ function merge(srcs, to) {    var contents = [];    //Sequentially read file    var done; -  srcs.forEach(function (src) { +  srcs.forEach(function(src) {      done = Q.when(done, function(content) {        if(content) contents.push(content);        return qfs.read(src, 'b'); @@ -128,7 +128,7 @@ exports.toString = function toString(obj) {      return obj;    case 'object':      if (obj instanceof Array) { -      obj.forEach(function (value, key) { +      obj.forEach(function(value, key) {          obj[key] = toString(value);        });        return obj.join(''); @@ -140,4 +140,4 @@ exports.toString = function toString(obj) {  }; -function noop(){}; +function noop() {}; | 
