discourse/app/assets/javascripts/application.js.erb
Sam fa8a84f20c removed sugar.js, port functionality to moment and underscore.js
bring in latest ace from local so we don't mess up with https
2013-06-11 15:27:26 +10:00

31 lines
1 KiB
Text

// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript code in separate files in this directory and they'll automatically
// 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
//= require ./external/jquery-1.9.1.js
//= require ./external/jquery.ui.widget.js
//= require ./external/handlebars-1.0.rc.4.js
<%
if Rails.env.development?
require_asset ("./external_development/ember.js")
require_asset ("./external_development/group-helper.js")
else
require_asset ("./external_production/ember.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
%>