From 4f4dfc7554b0a32c6b3a03a5d5cad0eb90602a31 Mon Sep 17 00:00:00 2001 From: Steffen van Bergerem Date: Wed, 11 Mar 2015 19:08:46 +0100 Subject: [PATCH] Fix missing assets bug --- app/views/profiles/_edit_public.haml | 6 ------ app/views/status_messages/bookmarklet.html.haml | 6 ------ app/views/status_messages/new.html.haml | 2 -- app/views/streams/main_stream.html.haml | 1 - app/views/users/getting_started.haml | 7 ------- config/application.rb | 4 ---- 6 files changed, 26 deletions(-) diff --git a/app/views/profiles/_edit_public.haml b/app/views/profiles/_edit_public.haml index 3bda5e12b..83e46ba85 100644 --- a/app/views/profiles/_edit_public.haml +++ b/app/views/profiles/_edit_public.haml @@ -1,10 +1,4 @@ --# Copyright (c) 2010-2011, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - - content_for :head do - = javascript_include_tag :profile - :javascript $(document).ready(function () { var data = $.parseJSON( '#{@tags_array.to_json.gsub("'", "\\\\'")}' ), diff --git a/app/views/status_messages/bookmarklet.html.haml b/app/views/status_messages/bookmarklet.html.haml index 835138c19..90958364a 100644 --- a/app/views/status_messages/bookmarklet.html.haml +++ b/app/views/status_messages/bookmarklet.html.haml @@ -1,9 +1,3 @@ --# Copyright (c) 2010-2012, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -= javascript_include_tag :home - .container-fluid#bookmarklet .row-fluid %h4 diff --git a/app/views/status_messages/new.html.haml b/app/views/status_messages/new.html.haml index 1345c5f3b..88e150b9f 100644 --- a/app/views/status_messages/new.html.haml +++ b/app/views/status_messages/new.html.haml @@ -1,5 +1,3 @@ -= javascript_include_tag :home - = render :partial => 'publisher/publisher', :locals => { :aspect => @aspect, :aspect_ids => @aspect_ids, diff --git a/app/views/streams/main_stream.html.haml b/app/views/streams/main_stream.html.haml index c03c1e030..6c38f039a 100644 --- a/app/views/streams/main_stream.html.haml +++ b/app/views/streams/main_stream.html.haml @@ -3,7 +3,6 @@ -# the COPYRIGHT file. - content_for :head do - = javascript_include_tag :home - if AppConfig.chat.enabled? = javascript_include_tag :jsxc, :id => 'jsxc', :data => { :endpoint => get_bosh_endpoint } diff --git a/app/views/users/getting_started.haml b/app/views/users/getting_started.haml index 828cce11d..0da1ed832 100644 --- a/app/views/users/getting_started.haml +++ b/app/views/users/getting_started.haml @@ -1,10 +1,3 @@ --# Copyright (c) 2010-2011, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -- content_for :head do - = javascript_include_tag :profile - .container .row %section#hello-there.span12 diff --git a/config/application.rb b/config/application.rb index 4983a1f08..5d4512eac 100644 --- a/config/application.rb +++ b/config/application.rb @@ -68,19 +68,15 @@ module Diaspora config.assets.precompile += %w{ aspect-contacts.js contact-list.js - home.js ie.js inbox.js jquery.js jquery_ujs.js jquery-textchange.js - mailchimp.js main.js jsxc.js mobile/mobile.js - profile.js people.js - profile.js publisher.js templates.js validation.js