mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +00:00
Remove unused JS files
This commit is contained in:
parent
994199f096
commit
b2b24146ef
3
LICENSES
3
LICENSES
@ -107,8 +107,5 @@ specified and linked otherwise.
|
||||
- themes/default/img/freedombox-logotype.png :: -
|
||||
- themes/default/img/glyphicons-halflings.png :: -
|
||||
- themes/default/img/glyphicons-halflings-white.png :: -
|
||||
- themes/default/js/functions.js :: -
|
||||
- themes/default/js/plinth.js :: -
|
||||
- themes/default/js/plugins.js :: [[file:themes/default/js/plugins.js::/%20paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/][CC0]]
|
||||
- themes/default/js/libs/jquery.min.js :: Symlink to external target: [[file:themes/default/js/libs/jquery.min.js::*%20Dual%20licensed%20under%20the%20MIT%20or%20GPL%20Version%202%20licenses.][MIT/GPL2]]
|
||||
- themes/default/js/libs/modernizr.min.js :: Symlink to external target: MIT
|
||||
|
||||
@ -46,8 +46,6 @@
|
||||
<!-- CSS from previous Plinth template, not sure what to keep yet -->
|
||||
{{ css|safe }}
|
||||
<!-- End Plinth CSS -->
|
||||
<!-- JS from previous Plinth template, not sure what to keep yet -->
|
||||
<script type="text/javascript" src="{{ basehref }}/static/theme/js/plinth.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://mozilla.org/firefox">Upgrade to a modern version of Firefox</a> to experience this site.</p><![endif]-->
|
||||
@ -131,8 +129,6 @@
|
||||
<!-- Local link to system Bootstrap JS -->
|
||||
<script type="text/javascript" src="{{ basehref }}/static/theme/js/libs/bootstrap.min.js"></script>
|
||||
|
||||
<!-- JS plugins -->
|
||||
<script type="text/javascript" src="{{ basehref }}/static/theme/js/plugins.js"></script>
|
||||
{% block js_block %}
|
||||
{{ js|safe }}
|
||||
{% endblock %}
|
||||
|
||||
@ -1,23 +0,0 @@
|
||||
// remap jQuery to $
|
||||
(function($){})(window.jQuery);
|
||||
|
||||
|
||||
/* trigger when page is ready */
|
||||
$(document).ready(function (){
|
||||
|
||||
// your functions go here
|
||||
|
||||
});
|
||||
|
||||
|
||||
/* optional triggers
|
||||
|
||||
$(window).load(function() {
|
||||
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
|
||||
});
|
||||
|
||||
*/
|
||||
@ -1,16 +0,0 @@
|
||||
function toggle_visibility(id) {
|
||||
var d = document.getElementById(id);
|
||||
if(d.style.display == 'block')
|
||||
d.style.display = 'none';
|
||||
else
|
||||
d.style.display = 'block';
|
||||
}
|
||||
|
||||
function show(id) {
|
||||
var d = document.getElementById(id);
|
||||
d.style.display = 'block';
|
||||
}
|
||||
|
||||
function hide(id) {
|
||||
document.getElementById(id).style.display = 'none';
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
// usage: log('inside coolFunc', this, arguments);
|
||||
// paulirish.com/2009/log-a-lightweight-wrapper-for-consolelog/
|
||||
window.log = function f(){ log.history = log.history || []; log.history.push(arguments); if(this.console) { var args = arguments, newarr; args.callee = args.callee.caller; newarr = [].slice.call(args); if (typeof console.log === 'object') log.apply.call(console.log, console, newarr); else console.log.apply(console, newarr);}};
|
||||
|
||||
// make it safe to use console.log always
|
||||
(function(a){function b(){}for(var c="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,markTimeline,profile,profileEnd,time,timeEnd,trace,warn".split(","),d;!!(d=c.pop());){a[d]=a[d]||b;}})
|
||||
(function(){try{console.log();return window.console;}catch(a){return (window.console={});}}());
|
||||
|
||||
|
||||
// place any jQuery/helper plugins in here, instead of separate, slower script files.
|
||||
|
||||
// remap jQuery to $
|
||||
(function($){})(window.jQuery);
|
||||
|
||||
|
||||
/* trigger when page is ready */
|
||||
$(document).ready(function (){
|
||||
|
||||
// your functions go here
|
||||
|
||||
});
|
||||
|
||||
|
||||
/* optional triggers
|
||||
|
||||
$(window).load(function() {
|
||||
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
|
||||
});
|
||||
|
||||
*/
|
||||
Loading…
x
Reference in New Issue
Block a user