skeletons/web-extension/options.js
function storeOptions() {
    var showTomster = this.checked;

    chrome.storage.sync.set({
      options: { showTomster: showTomster }
    }, function optionsSaved() {
      console.log("saved!");
    });
  }
function storeOptions() {
    var showTomster = this.checked;

    chrome.storage.sync.set({
      options: { showTomster: showTomster }
    }, function optionsSaved() {
      console.log("saved!");
    });
  }
function storeOptions ( ) { var showTomster = this . checked ; chrome . storage . sync . set ( { options : { showTomster : showTomster } } , function optionsSaved ( ) { console . log ( "saved!" ) ; } ) ; }
Save the updated options to storage.
Save the updated options to storage .