Updated some scripts

This commit is contained in:
Kasper Rynning-Tønnesen
2016-01-25 21:15:38 +01:00
parent 89c4a69436
commit dc0e592f64
4 changed files with 5 additions and 987 deletions

View File

@@ -16,11 +16,11 @@ gulp.task('js', function () {
gulp.task('embed', function () { gulp.task('embed', function () {
gulp.src(['static/js/youtube.js', 'static/js/helpers.js', 'static/js/playercontrols.js', 'static/js/list.js', 'static/js/embed.js', '!static/js/nochan*', '!static/js/remotecontroller.js']) gulp.src(['static/js/youtube.js', 'static/js/helpers.js', 'static/js/playercontrols.js', 'static/js/list.js', 'static/js/embed.js', '!static/js/nochan*', '!static/js/remotecontroller.js'])
/*.pipe(uglify({ .pipe(uglify({
mangle: true, mangle: true,
compress: true, compress: true,
enclose: true enclose: true
}))*/ }))
.pipe(concat('embed.min.js')) .pipe(concat('embed.min.js'))
.pipe(gulp.dest('static/dist')); .pipe(gulp.dest('static/dist'));
}); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -22,7 +22,6 @@ var connection_options = {
}; };
$(document).ready(function(){ $(document).ready(function(){
console.log("loadshit");
$("head").append('<link type="text/css" rel="stylesheet" href="/static/css/embed.css" />'); $("head").append('<link type="text/css" rel="stylesheet" href="/static/css/embed.css" />');
$("head").append('<link type="text/css" rel="stylesheet" href="/static/css/materialize.min.css" />'); $("head").append('<link type="text/css" rel="stylesheet" href="/static/css/materialize.min.css" />');