diff options
Diffstat (limited to 'lib/backbone/summary.js')
-rw-r--r-- | lib/backbone/summary.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/backbone/summary.js b/lib/backbone/summary.js index 35f65e6..aa52104 100644 --- a/lib/backbone/summary.js +++ b/lib/backbone/summary.js @@ -23,7 +23,7 @@ function TOCArticle(summary, title, ref, articles, parent) { } var parts = url.parse(ref); - this.filename = parts.pathname; + this.path = parts.pathname; this.anchor = parts.hash; this.articles = _.map(articles || [], function(article) { @@ -42,7 +42,7 @@ TOCArticle.prototype.walk = function(iter) { // Return true if is pointing to a file TOCArticle.prototype.hasLocation = function() { - return Boolean(this.filename); + return Boolean(this.path); }; // Return true if has children |