Skip to content

Commit

Permalink
remove unused function in options.js
Browse files Browse the repository at this point in the history
  • Loading branch information
bijij committed Feb 17, 2018
1 parent 89fd5be commit aebc360
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions js/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,6 @@
let defaultOptions;
let options;

// Localise strings
function toI18n(str) {
return str.replace(/__MSG_(\w+)__/g, function (match, v1) {
return v1 ? chrome.i18n.getMessage(v1) : '';
});
}

// Load options from storage
const load = function () {
return new Promise(function (resolve) {
Expand Down

0 comments on commit aebc360

Please sign in to comment.