mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-01 15:16:17 +00:00
Updated some scripts
This commit is contained in:
@@ -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'));
|
||||||
});
|
});
|
||||||
|
|||||||
983
static/dist/embed.min.js
vendored
983
static/dist/embed.min.js
vendored
File diff suppressed because one or more lines are too long
4
static/dist/main.min.js
vendored
4
static/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -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" />');
|
||||||
|
|||||||
Reference in New Issue
Block a user