Skip to content

Commit

Permalink
Merge pull request #991 from learykara/patch-3
Browse files Browse the repository at this point in the history
Declare undeclared variables
  • Loading branch information
joshbruce authored Jan 5, 2018
2 parents 398bb71 + 14fca79 commit 99eee90
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/marked.js
Original file line number Diff line number Diff line change
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 99eee90

Please sign in to comment.