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
|
|
|
|
//= require ./discourse/components/probes.js
|
|
|
|
|
|
|
|
// Externals we need to load first
|
2013-05-07 17:16:13 -04:00
|
|
|
//= require ./external/jquery-1.8.3.js
|
2013-02-05 14:16:51 -05:00
|
|
|
//= require ./external/jquery.ui.widget.js
|
2013-02-19 11:27:20 -05:00
|
|
|
//= require ./external/handlebars-1.0.rc.3.js
|
2013-02-05 14:16:51 -05:00
|
|
|
<%
|
2013-04-15 01:07:40 -04:00
|
|
|
if Rails.env.development?
|
|
|
|
require_asset ("./external_development/ember.js")
|
|
|
|
require_asset ("./external_development/sugar-1.3.5.js")
|
|
|
|
require_asset ("./external_development/group-helper.js")
|
|
|
|
else
|
|
|
|
require_asset ("./external_production/ember.js")
|
|
|
|
require_asset ("./external_production/sugar-1.3.5.js")
|
|
|
|
require_asset ("./external_production/group-helper.js")
|
|
|
|
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
|
|
|
%>
|