Skip to content

Commit

Permalink
Remove init() warning. (#26)
Browse files Browse the repository at this point in the history
It doesn't help much, and it's hard to avoid calling `init` multiple times when you have multiple libraries where each uses ip3country.
  • Loading branch information
roim authored Jun 28, 2021
1 parent b0a43f7 commit 728bb3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/ip3country.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ const ip3country = {

init: function () {
if (this._initCalled) {
console.warn("ip3country::init> You can call init just once");
return;
}

Expand Down

0 comments on commit 728bb3b

Please sign in to comment.