Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Randgalt committed Mar 7, 2013
1 parent 76239a1 commit ad1cbea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions js/models.js
Expand Up @@ -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)
Expand Down Expand Up @@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion js/nf.js
Expand Up @@ -414,7 +414,7 @@ function refineBlogHash(hash)
if ( parts.length < 2 )
{
location.hash = parts[0];
blogName = blogs[0].file;
blogName = blogs[0].code;
}
else
{
Expand Down

0 comments on commit ad1cbea

Please sign in to comment.