diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-06-23 19:33:38 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-06-23 19:33:38 +0300 |
commit | 7ce0968a52a5bc013e49865205a8998881884c02 (patch) | |
tree | aab65a1bb5f4071ba953dc09208d21c4a0ed1121 /app/assets/javascripts/lib | |
parent | 8ef649588b396059bccf17e6dab6dec3866b2479 (diff) |
Re-implement page-specific JS in a better way.
This makes larger libraries more cacheable and will allow us to use SRI with the dynamically included libraries.
Diffstat (limited to 'app/assets/javascripts/lib')
-rw-r--r-- | app/assets/javascripts/lib/chart/application.js.coffee | 1 | ||||
-rw-r--r-- | app/assets/javascripts/lib/d3/application.js.coffee | 1 | ||||
-rw-r--r-- | app/assets/javascripts/lib/raphael/application.js.coffee | 3 |
3 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/lib/chart/application.js.coffee b/app/assets/javascripts/lib/chart/application.js.coffee new file mode 100644 index 00000000000..82217fc5107 --- /dev/null +++ b/app/assets/javascripts/lib/chart/application.js.coffee @@ -0,0 +1 @@ +#= require Chart diff --git a/app/assets/javascripts/lib/d3/application.js.coffee b/app/assets/javascripts/lib/d3/application.js.coffee new file mode 100644 index 00000000000..74f0a0bb06a --- /dev/null +++ b/app/assets/javascripts/lib/d3/application.js.coffee @@ -0,0 +1 @@ +#= require d3 diff --git a/app/assets/javascripts/lib/raphael/application.js.coffee b/app/assets/javascripts/lib/raphael/application.js.coffee new file mode 100644 index 00000000000..ab8e5979b87 --- /dev/null +++ b/app/assets/javascripts/lib/raphael/application.js.coffee @@ -0,0 +1,3 @@ +#= require raphael +#= require g.raphael +#= require g.bar |