Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Assembling the AwfulPostsView

We use a few JavaScript libraries for AwfulPostsView. Here's how to build them.

jQuery for modern browsers.

$ rake concat[-polyfill:-fx:-form:touch] dist

Then move dist/zepto.min.js to this folder.

Logic-less templates.

$ rake jquery

Then move jquery.mustache.js to this folder.

Final assembly

Concatenate these files together into a single file, posts-view.js. This file is loaded by AwfulPostsView.

$ rake

We also make Zepto available globally as jQuery, so the mustache.js plugin works unmodified.