Upgrade jQuery to 2.0.3
This commit is contained in:
parent
05fc50006d
commit
4a0ea7f776
|
@ -10,10 +10,17 @@
|
|||
//= 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.js
|
||||
|
||||
<%
|
||||
if Rails.env.development?
|
||||
require_asset ("./external_development/jquery-2.0.3.js")
|
||||
else
|
||||
require_asset ("./external_production/jquery-2.0.3.min.js")
|
||||
end
|
||||
|
||||
require_asset ("./external/jquery.ui.widget.js")
|
||||
require_asset ("./external/handlebars.js")
|
||||
|
||||
if Rails.env.development?
|
||||
require_asset ("./external_development/ember.js")
|
||||
require_asset ("./external_development/group-helper.js")
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
//= require ./external/jquery-1.9.1.js
|
|
@ -41,7 +41,7 @@ module Discourse
|
|||
|
||||
config.assets.paths += %W(#{config.root}/config/locales)
|
||||
|
||||
config.assets.precompile += ['admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js', 'jquery.js']
|
||||
config.assets.precompile += ['admin.js', 'admin.css', 'shiny/shiny.css', 'preload_store.js']
|
||||
|
||||
# Precompile all defer
|
||||
Dir.glob("#{config.root}/app/assets/javascripts/defer/*.js").each do |file|
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
//= require ../../app/assets/javascripts/discourse/components/probes.js
|
||||
|
||||
// Externals we need to load first
|
||||
//= require ../../app/assets/javascripts/external/jquery-1.9.1.js
|
||||
//= require ../../app/assets/javascripts/external_development/jquery-2.0.3.js
|
||||
//= require ../../app/assets/javascripts/external/jquery.ui.widget.js
|
||||
//= require ../../app/assets/javascripts/external/handlebars.js
|
||||
//= require ../../app/assets/javascripts/external_development/ember.js
|
||||
|
|
Loading…
Reference in New Issue