Skip to content

Commit

Permalink
Merge pull request markedjs#991 from learykara/patch-3
Browse files Browse the repository at this point in the history
Declare undeclared variables
  • Loading branch information
joshbruce committed Jan 5, 2018
2 parents 989953b + b430e76 commit e9830f1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/marked.js
Expand Up @@ -5,6 +5,7 @@
*/

;(function() {
'use strict';

/**
* Block-Level Grammar
Expand Down Expand Up @@ -1144,8 +1145,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 e9830f1

Please sign in to comment.