Skip to content
Browse files

wip

  • Loading branch information...
1 parent 76239a1 commit ad1cbea883ebed846c9ef11456db6efac3bb1121 @Randgalt Randgalt committed
Showing with 3 additions and 4 deletions.
  1. +2 −3 js/models.js
  2. +1 −1 js/nf.js
View
5 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 = [
View
2 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
{

0 comments on commit ad1cbea

Please sign in to comment.
Something went wrong with that request. Please try again.