mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-04 02:09:22 +02:00
Noving composer into vendor folder
This commit is contained in:
parent
37880a28cc
commit
f1b6d0af52
26137 changed files with 803896 additions and 1910503 deletions
|
@ -1,27 +1,27 @@
|
|||
/*!
|
||||
* jQuery & Zepto Lazy - Script Plugin - v1.2
|
||||
* http://jquery.eisbehr.de/lazy/
|
||||
*
|
||||
* Copyright 2012 - 2017, Daniel 'Eisbehr' Kern
|
||||
*
|
||||
* Dual licensed under the MIT and GPL-2.0 licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
;(function($) {
|
||||
// loads javascript files for script tags, like:
|
||||
// <script data-src="file.js" type="text/javascript"></script>
|
||||
$.lazy(["js", "javascript", "script"], "script", function(element, response) {
|
||||
if( element[0].tagName.toLowerCase() == "script" ) {
|
||||
element.attr("src", element.attr("data-src"));
|
||||
|
||||
// remove attribute
|
||||
if( this.config("removeAttribute") )
|
||||
element.removeAttr("data-src");
|
||||
}
|
||||
else {
|
||||
// use response function for Zepto
|
||||
response(false);
|
||||
}
|
||||
});
|
||||
/*!
|
||||
* jQuery & Zepto Lazy - Script Plugin - v1.2
|
||||
* http://jquery.eisbehr.de/lazy/
|
||||
*
|
||||
* Copyright 2012 - 2017, Daniel 'Eisbehr' Kern
|
||||
*
|
||||
* Dual licensed under the MIT and GPL-2.0 licenses:
|
||||
* http://www.opensource.org/licenses/mit-license.php
|
||||
* http://www.gnu.org/licenses/gpl-2.0.html
|
||||
*/
|
||||
;(function($) {
|
||||
// loads javascript files for script tags, like:
|
||||
// <script data-src="file.js" type="text/javascript"></script>
|
||||
$.lazy(["js", "javascript", "script"], "script", function(element, response) {
|
||||
if( element[0].tagName.toLowerCase() == "script" ) {
|
||||
element.attr("src", element.attr("data-src"));
|
||||
|
||||
// remove attribute
|
||||
if( this.config("removeAttribute") )
|
||||
element.removeAttr("data-src");
|
||||
}
|
||||
else {
|
||||
// use response function for Zepto
|
||||
response(false);
|
||||
}
|
||||
});
|
||||
})(window.jQuery || window.Zepto);
|
Loading…
Add table
Add a link
Reference in a new issue