Skip to content

Commit

Permalink
Remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
sairion committed Jan 11, 2017
1 parent dbdebcc commit f02724c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ const parserAvailable = typeof DOMParser !== 'undefined' &&
DOMParser.prototype != null &&
DOMParser.prototype.parseFromString != null;

if ("production" !== process.env.NODE_ENV && !parserAvailable) {
console.info('<InlineSVG />: `raw` prop works only when `window.DOMParser` exists.');
}

function isParsable(src) {
// kinda naive but meh, ain't gonna use full-blown parser for this
return parserAvailable &&
Expand Down

0 comments on commit f02724c

Please sign in to comment.