1
0
Fork 0
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:
Emi Matchu 2023-10-25 16:24:50 -07:00
parent 8ae1370cc9
commit 3243a0fdd9
4 changed files with 0 additions and 16 deletions

File diff suppressed because one or more lines are too long

View file

@ -92,13 +92,9 @@ module ApplicationHelper
end
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',
: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',
:swfobject => 'https://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js'
}
def include_javascript_libraries(*library_names)

View file

@ -11,8 +11,6 @@
- else
#{t 'app_name'}: #{t '.title_tagline'}
%link{href: image_path('favicon.png'), rel: 'icon'}
/[if IE]
= include_javascript_libraries :html5
= yield :stylesheets
= stylesheet_link_tag "application"
= yield :meta