diff options
author | Samy Pessé <samypesse@gmail.com> | 2014-04-04 09:47:34 -0700 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2014-04-04 09:47:34 -0700 |
commit | 91359fab1e79f8d371e72b6efcb469fb89c3be8b (patch) | |
tree | 819890dc0ccfe69296503a821e6459148f8fada1 | |
parent | a52a4bed1a01f954d6faa06b502f5fe311790cb5 (diff) | |
download | gitbook-91359fab1e79f8d371e72b6efcb469fb89c3be8b.zip gitbook-91359fab1e79f8d371e72b6efcb469fb89c3be8b.tar.gz gitbook-91359fab1e79f8d371e72b6efcb469fb89c3be8b.tar.bz2 |
_path is not used anymore
-rw-r--r-- | lib/parse/navigation.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/parse/navigation.js b/lib/parse/navigation.js index aeb2716..bba25ce 100644 --- a/lib/parse/navigation.js +++ b/lib/parse/navigation.js @@ -1,9 +1,9 @@ var _ = require('lodash'); // Cleans up an article/chapter object -// remove 'articles' and '_path' attributes +// remove 'articles' attributes function clean(obj) { - return obj && _.omit(obj, ['articles', '_path']); + return obj && _.omit(obj, ['articles']); } // Returns from a summary a map of |