tinygame.xyz
Advanced tools
Comparing version 1.7.15 to 1.7.16
{ | ||
"name": "tinygame.xyz", | ||
"version": "1.7.15", | ||
"version": "1.7.16", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": {}, |
@@ -5,8 +5,8 @@ $(document).ready(function () { | ||
$('#tuiSite img').each(function () { | ||
//console.log('img'); | ||
//console.log($(this).attr('data-src')); | ||
/* $('#tuiSite img').each(function () { | ||
console.log('img'); | ||
console.log($(this).attr('data-src')); | ||
$(this).attr('src', $(this).attr('data-src')); | ||
}); | ||
});*/ | ||
}); |
@@ -35,8 +35,15 @@ var request = require('request'); | ||
if (!error && response.statusCode == 200) { | ||
/* var $ = cheerio.load(data); | ||
var $ = cheerio.load(data); | ||
var img_length = $('img').length(); | ||
$('img').each(function (i, e) { | ||
$('e').attr('src', $('e').attr('data-src')); | ||
img_length--; | ||
if (img_length == 0) { | ||
html = $('html').html(); | ||
callback(html); | ||
return; | ||
} | ||
}); | ||
html = $('html').html();*/ | ||
html = data; | ||
//html = data; | ||
} | ||
@@ -43,0 +50,0 @@ callback(html); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207413
2688