Reorganize the lib directory.

parent 7ce0968a
......@@ -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
......
......@@ -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 .
$ ->
......
......@@ -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
......
- 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"
......
- 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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment