forked from OpenNeo/impress
Remove unused Javascript utility libraries
Some of these just didn't have call sites anymore; the HTML5 shim still did, but that URL is literally broken now lmao. Goodbye!
This commit is contained in:
parent
8ae1370cc9
commit
3243a0fdd9
4 changed files with 0 additions and 16 deletions
10
app/assets/javascripts/ZeroClipboard.min.js
vendored
10
app/assets/javascripts/ZeroClipboard.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
|
@ -92,13 +92,9 @@ module ApplicationHelper
|
||||||
end
|
end
|
||||||
|
|
||||||
JAVASCRIPT_LIBRARIES = {
|
JAVASCRIPT_LIBRARIES = {
|
||||||
:addthis => 'https://s7.addthis.com/js/250/addthis_widget.js#username=openneo',
|
|
||||||
:bitly => 'https://bit.ly/javascript-api.js?version=latest&login=openneo&apiKey=R_4d0438829b7a99860de1d3edf55d8dc8',
|
|
||||||
:html5 => 'https://html5shim.googlecode.com/svn/trunk/html5.js',
|
|
||||||
:jquery => 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js',
|
:jquery => 'https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js',
|
||||||
:jquery20 => 'https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js',
|
:jquery20 => 'https://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js',
|
||||||
:jquery_tmpl => 'https://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js',
|
:jquery_tmpl => 'https://ajax.microsoft.com/ajax/jquery.templates/beta1/jquery.tmpl.min.js',
|
||||||
:swfobject => 'https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
def include_javascript_libraries(*library_names)
|
def include_javascript_libraries(*library_names)
|
||||||
|
|
|
@ -11,8 +11,6 @@
|
||||||
- else
|
- else
|
||||||
#{t 'app_name'}: #{t '.title_tagline'}
|
#{t 'app_name'}: #{t '.title_tagline'}
|
||||||
%link{href: image_path('favicon.png'), rel: 'icon'}
|
%link{href: image_path('favicon.png'), rel: 'icon'}
|
||||||
/[if IE]
|
|
||||||
= include_javascript_libraries :html5
|
|
||||||
= yield :stylesheets
|
= yield :stylesheets
|
||||||
= stylesheet_link_tag "application"
|
= stylesheet_link_tag "application"
|
||||||
= yield :meta
|
= yield :meta
|
||||||
|
|
Loading…
Reference in a new issue