Merge pull request #171 from spirit1431007/pr-branch

minimize lib.js
This commit is contained in:
Mashiro 2019-12-23 01:00:33 -06:00 committed by GitHub
commit ad63468e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 21 additions and 32 deletions

2
cdn/css/lib.css Normal file → Executable file
View File

@ -1,4 +1,4 @@
/*! Generate by Mashiro. Fri Jan 25 09:41:42 2019*//*! /*! Generate by Mashiro. Mon Dec 23 09:48:25 2019*//*!
* baguetteBox.js * baguetteBox.js
* @author feimosi * @author feimosi
* @version 1.11.0 * @version 1.11.0

11
cdn/js/lib.js Normal file → Executable file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -525,6 +525,7 @@ function killCoverVideo() {
function coverVideoIni() { function coverVideoIni() {
if ($('video').hasClass('hls')) { if ($('video').hasClass('hls')) {
$.getScript("https://cdn.jsdelivr.net/gh/mashirozx/Sakura@3.3.3/cdn/js/src/16.hls.js", function(){
var video = addComment.I('coverVideo'); var video = addComment.I('coverVideo');
var video_src = $('#coverVideo').attr('data-src'); var video_src = $('#coverVideo').attr('data-src');
if (Hls.isSupported()) { if (Hls.isSupported()) {
@ -540,6 +541,7 @@ function coverVideoIni() {
video.play(); video.play();
}); });
} }
});
//console.info('ini:coverVideoIni()'); //console.info('ini:coverVideoIni()');
} }
} }