From ad1cbea883ebed846c9ef11456db6efac3bb1121 Mon Sep 17 00:00:00 2001 From: Jordan Zimmerman Date: Thu, 7 Mar 2013 13:12:55 -0800 Subject: [PATCH] wip --- js/models.js | 5 ++--- js/nf.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/js/models.js b/js/models.js index f3440fd..8d39477 100644 --- a/js/models.js +++ b/js/models.js @@ -6,12 +6,11 @@ function TabSpec(code, id, text, handler) this.handler = handler; } -function BlogSpec(code, date, name, file) +function BlogSpec(code, date, name) { this.code = code; this.date = date; this.name = name; - this.file = file; } function PoweredBySpec(name, url, imageUrl, width, height) @@ -52,7 +51,7 @@ var tabs = [ ]; var blogs = [ - new BlogSpec('intro', 'March 7, 2013', 'Introducing the Netflix OSS Blog', 'intro.html') + new BlogSpec('intro', 'March 7, 2013', 'Introducing the Netflix OSS Blog') ]; var poweredBy = [ diff --git a/js/nf.js b/js/nf.js index dea4c0d..3d4e8ca 100644 --- a/js/nf.js +++ b/js/nf.js @@ -414,7 +414,7 @@ function refineBlogHash(hash) if ( parts.length < 2 ) { location.hash = parts[0]; - blogName = blogs[0].file; + blogName = blogs[0].code; } else {