Tom Hughes
824a474d93
Refactor updatelinks to avoid exceptions in updateLocation
2012-10-05 16:02:26 +01:00
John Firebaugh
c3d1123965
Merge globals.js.erb and params.js
2012-10-05 15:21:47 +01:00
John Firebaugh
87e8cf3b58
Require index-only JS in index.js
2012-09-30 11:58:14 +01:00
John Firebaugh
0509fc8d12
Move param-based map configuration to client
...
This prepares us for hash-based permalinks (#81 ) and removes
the duplication between index.html.erb and SiteController#edit.
2012-09-18 08:56:45 +01:00
John Firebaugh
14a7d1abfc
Use jquery.cookie
2012-09-18 08:55:27 +01:00
John Firebaugh
e338d11408
Move resize JS to application bundle
2012-09-07 13:05:25 -07:00
Tom Hughes
7af04f8691
Move rich text support code into a separate file
2012-09-06 20:44:24 +01:00
Tom MacWright
02de53eb45
Refactor view and css code around homepage links
...
This adds a new class to the body which we can use to do more styling
in CSS rather than erb-embedded Ruby. The only visual change is that
there's now a subtle transition for homepage links becoming active.
2012-09-06 20:28:23 +01:00
Tom Hughes
7c0055b5d7
Move piwik code to a static JS asset
2012-09-06 09:02:51 +01:00
John Firebaugh
519c7dc2dd
Move key JS to application bundle
2012-08-30 15:34:26 -07:00
Tom MacWright
93c392cf5f
Basic javascript cleanup
...
Unifies some logic, cleans up style.
2012-08-30 21:27:57 +01:00
John Firebaugh
d6a8aaa369
Move sidebar JS to application bundle
...
It's required on the main page so will nearly always be loaded anyway.
Enclosed in an anonymous function to avoid leaking the onclose global.
2012-08-30 20:30:11 +01:00
Tom Hughes
1e169bca25
Remove copy of Array.forEach that was committed accidentally
2012-08-30 19:17:11 +01:00
Tom Hughes
7b626f31be
Use augment.js for improved cross browser compatibility
...
Remove the quick hack for that I added for Array.forEach and pull
in augment.js instead to add missing JS methods to older browsers.
2012-08-29 12:29:47 +01:00
Tom Hughes
a35cff243e
Implement Array.forEach for browsers which don't have it
2012-08-29 09:30:14 +01:00
Tom Hughes
d9054cfe29
Move some javascript from the layout to application.js
2012-08-28 19:47:20 +01:00
John Firebaugh
5aa09fbfd0
Use a standard application.js bundle
...
Include map.js and menu.js in the bundle.
2012-08-27 20:31:17 +01:00