Mercurial > if-archive-json-mirror
changeset 8:02ea8f3d6938
Fixed paths in index.js.
author | Atul Varma <varmaa@toolness.com> |
---|---|
date | Wed, 28 May 2008 07:36:29 +0000 |
parents | fee2c6b5881d |
children | a2f8dfbd8d29 |
files | index.js |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/index.js Wed May 28 07:13:49 2008 +0000 +++ b/index.js Wed May 28 07:36:29 2008 +0000 @@ -1,13 +1,10 @@ function processData(stories) { - var parchment = "parchment.html"; - - if ($("script:last").attr("src").indexOf(".min") != -1) - parchment = "parchment.min.html"; + var parchment = "http://parchment.googlecode.com/svn/trunk/parchment.html"; for (var i = 0; i < stories.length; i++) { $("#content").append( '<div class="story"><a href="' + parchment + '?story=' + - stories[i].path + + location.href + stories[i].path + ".js" + '">' + stories[i].desc.entityify() + '</a></div>' ); }