PERF: add one more asset for ember and jQuery

at the moment Ember initialization is a bottleneck, to minimize impact
on initial load we download an evaluate it as early as possible
This commit is contained in:
Sam 2015-11-25 13:17:57 +11:00
parent 68a44a1d59
commit 24be285bf2
3 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1,2 @@
//= require jquery_include.js
//= require ember_include.js

View File

@ -3,8 +3,6 @@
//= require probes.js
//= require handlebars.js
//= require jquery_include.js
//= require ember_include.js
//= require i18n-patches
//= require loader

View File

@ -20,6 +20,7 @@
<%= script "preload_store" %>
<%= script "locales/#{I18n.locale}" %>
<%= script "ember_jquery" %>
<%= script "vendor" %>
<%= script "application" %>
<%- if staff? %>