Reorganize the lib directory.

This commit is contained in:
Connor Shea 2016-06-23 10:55:40 -06:00
parent 7ce0968a52
commit 4cca9a3e0f
No known key found for this signature in database
GPG key ID: E52237E5B35A83E6
19 changed files with 4 additions and 7 deletions

View file

@ -50,7 +50,7 @@
#= require_directory ./ci
#= require_directory ./commit
#= require_directory ./extensions
#= require_directory ./lib/.
#= require_directory ./lib/utils
#= require_directory ./u2f
#= require_directory .
#= require fuzzaldrin-plus

View file

@ -4,9 +4,6 @@
# 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 raphael
#= require g.raphael
#= require g.bar
#= require_tree .
$ ->

View file

@ -2,7 +2,7 @@
%ul{ class: (container_class) }
- content_for :page_specific_javascripts do
= javascript_include_tag 'lib/chart/application.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'lib/chart.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'graphs/application.js', {integrity: true, "data-turbolinks-track" => true}
= nav_link(action: :show) do
= link_to 'Contributors', namespace_project_graph_path

View file

@ -1,6 +1,6 @@
- page_title "Network", @ref
- content_for :page_specific_javascripts do
= javascript_include_tag 'lib/raphael/application.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'lib/raphael.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'network/application.js', {integrity: true, "data-turbolinks-track" => true}
= render "projects/commits/head"
= render "head"

View file

@ -1,7 +1,7 @@
- page_title @user.name
- page_description @user.bio
- content_for :page_specific_javascripts do
= javascript_include_tag 'lib/d3/application.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'lib/d3.js', {integrity: true, "data-turbolinks-track" => true}
= javascript_include_tag 'users/application.js', {integrity: true, "data-turbolinks-track" => true}
- header_title @user.name, user_path(@user)
- @no_container = true