mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
Moved JSHint into Qunit suite. It's much harder to forget about now!
This commit is contained in:
@ -20,7 +20,7 @@ class DiscourseIIFE < Sprockets::Processor
|
||||
return data if path =~ /\.shbrs/
|
||||
return data if path =~ /\.hbrs/
|
||||
|
||||
"(function () {\n\nvar $ = window.jQuery;\n\n#{data}\n\n})(this);"
|
||||
"(function () {\n\nvar $ = window.jQuery;\n// IIFE Wrapped Content Begins:\n\n#{data}\n\n// IIFE Wrapped Content Ends\n\n })(this);"
|
||||
end
|
||||
|
||||
end
|
Reference in New Issue
Block a user