2013-02-05 14:16:51 -05:00
|
|
|
// This is a manifest file that'll be compiled into including all the files listed below.
|
2013-02-20 13:15:50 -05:00
|
|
|
// Add new JavaScript code in separate files in this directory and they'll automatically
|
2013-02-05 14:16:51 -05:00
|
|
|
// be included in the compiled file accessible from http://example.com/assets/application.js
|
|
|
|
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
|
|
|
// the compiled file.
|
|
|
|
//
|
|
|
|
//= require ./env
|
|
|
|
|
|
|
|
// probe framework first
|
2013-10-24 12:36:46 -04:00
|
|
|
//= require ./discourse/lib/probes.js
|
2013-02-05 14:16:51 -05:00
|
|
|
|
|
|
|
// Externals we need to load first
|
2013-07-31 16:30:31 -04:00
|
|
|
|
2013-02-05 14:16:51 -05:00
|
|
|
<%
|
2013-07-31 16:30:31 -04:00
|
|
|
if Rails.env.development?
|
2013-09-16 14:08:55 -04:00
|
|
|
require_asset ("development/jquery-2.0.3.js")
|
2013-07-31 16:30:31 -04:00
|
|
|
else
|
2013-09-16 14:08:55 -04:00
|
|
|
require_asset ("production/jquery-2.0.3.min.js")
|
2013-07-31 16:30:31 -04:00
|
|
|
end
|
|
|
|
|
2013-09-16 14:08:55 -04:00
|
|
|
require_asset ("jquery.ui.widget.js")
|
|
|
|
require_asset ("handlebars.js")
|
2013-07-31 16:30:31 -04:00
|
|
|
|
2013-04-15 01:07:40 -04:00
|
|
|
if Rails.env.development?
|
2013-09-16 14:08:55 -04:00
|
|
|
require_asset ("development/ember.js")
|
2013-04-15 01:07:40 -04:00
|
|
|
else
|
2013-09-16 14:08:55 -04:00
|
|
|
require_asset ("production/ember.js")
|
2013-04-15 01:07:40 -04:00
|
|
|
end
|
|
|
|
|
|
|
|
require_asset ("./main_include.js")
|
|
|
|
|
|
|
|
# Include plugin javascripts
|
|
|
|
DiscoursePluginRegistry.javascripts.each do |js|
|
|
|
|
require_asset(js)
|
|
|
|
end
|
2013-02-05 14:16:51 -05:00
|
|
|
%>
|