mirror of
https://github.com/remy/inliner.git
synced 2024-10-26 18:49:55 +03:00
local jQuery again
This commit is contained in:
parent
b12359a95a
commit
9c798e7d45
@ -161,7 +161,7 @@ function Inliner(url, options, callback) {
|
||||
get(url, function (html) {
|
||||
// console.log(html.replace(/^\s*/g, ''), 'test');
|
||||
jsdom.env(html, '', [
|
||||
'http://code.jquery.com/jquery.min.js'
|
||||
__dirname + '/jquery.min.js'
|
||||
], function(errors, window) {
|
||||
// remove jQuery that was included with jsdom
|
||||
window.$('script:last').remove();
|
||||
|
Loading…
Reference in New Issue
Block a user