Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline

This commit is contained in:
Robin Ward
2013-02-22 15:41:12 -05:00
parent 0321643636
commit e461c84253
217 changed files with 11996 additions and 12131 deletions

View File

@@ -0,0 +1,3 @@
require 'discourse_iife'
Rails.application.assets.register_preprocessor('application/javascript', DiscourseIIFE)

View File

@@ -62,6 +62,7 @@ passfail: false # true if the scan should stop on first error (per file)
predef:
- Ember
- jQuery
- $
- RSVP
- Discourse
- $LAB