From 07072d0a61e12621b29dcd28e6be3403cfb09c10 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sun, 23 Oct 2011 00:43:22 -0700 Subject: [PATCH] Fix path to non-CDN jQuery. --- r2/r2/lib/js.py | 2 +- r2/r2/public/static/jquery.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 120000 r2/r2/public/static/jquery.js diff --git a/r2/r2/lib/js.py b/r2/r2/lib/js.py index 188064100..e166a4b6d 100755 --- a/r2/r2/lib/js.py +++ b/r2/r2/lib/js.py @@ -162,7 +162,7 @@ class LocalizedModule(Module): class JQuery(Module): def __init__(self, cdn_src=None): - Module.__init__(self, "jquery.js") + Module.__init__(self, os.path.join("js", "lib", "jquery.js")) self.cdn_src = cdn_src or "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery" def build(self, closure): diff --git a/r2/r2/public/static/jquery.js b/r2/r2/public/static/jquery.js deleted file mode 120000 index 474fd0b3f..000000000 --- a/r2/r2/public/static/jquery.js +++ /dev/null @@ -1 +0,0 @@ -js/lib/jquery.js \ No newline at end of file