turn asset pipeline debugging off
there was a collision with the aspects-dropdown view in the new publisher, also it takes too much time with it on
This commit is contained in:
parent
875ce68556
commit
755ff52452
3 changed files with 7 additions and 2 deletions
|
|
@ -40,6 +40,7 @@ app.views.Base = Backbone.View.extend({
|
|||
renderTemplate : function(){
|
||||
var presenter = _.isFunction(this.presenter) ? this.presenter() : this.presenter
|
||||
this.template = JST[this.templateName]
|
||||
if(!this.template) {console.log("no template for " + this.templateName) }
|
||||
$(this.el)
|
||||
.html(this.template(presenter))
|
||||
.attr("data-template", _.last(this.templateName.split("/")));
|
||||
|
|
|
|||
|
|
@ -20,7 +20,11 @@ Diaspora::Application.configure do
|
|||
config.assets.compress = false
|
||||
|
||||
# Expands the lines which load the assets
|
||||
config.assets.debug = true
|
||||
config.assets.debug = false
|
||||
|
||||
# Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
|
||||
config.assets.allow_debugging = true
|
||||
|
||||
|
||||
# Don't care if the mailer can't send
|
||||
config.action_mailer.raise_delivery_errors = false
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ Diaspora::Application.configure do
|
|||
config.static_cache_control = "public, max-age=3600"
|
||||
|
||||
config.assets.enabled = true
|
||||
config.assets.debug = true
|
||||
config.assets.debug = false
|
||||
|
||||
# Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets
|
||||
config.assets.allow_debugging = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue