Skip to content

Commit

Permalink
declare undeclared variables
Browse files Browse the repository at this point in the history
fix for markedjs#990
  • Loading branch information
learykara committed Dec 27, 2017
1 parent 18deb8b commit 115b65e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/marked.js
Expand Up @@ -1144,8 +1144,8 @@ function resolveUrl(base, href) {
return base + href;
}
}
baseUrls = {};
originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;
var baseUrls = {};
var originIndependentUrl = /^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;

function noop() {}
noop.exec = noop;
Expand Down

0 comments on commit 115b65e

Please sign in to comment.