options/options.js
/**
  * Load options from the browser storage.
  */
Load options from the browser storage.
Load options from the browser storage .
function loadOptions() {
    var getting = browser.storage.sync.get();
    getting.then(function(sett) {
      let opt = sett.devRulerOptions;
      if (!opt) {
        opt = defaults;
      }
      setOptions(opt);
      createPickers(opt);
      createSliders(opt);
    }).catch(onError);
  }
function loadOptions ( ) { var getting = browser . storage . sync . get ( ) ; getting . then ( function ( sett ) { let opt = sett . devRulerOptions ; if ( ! opt ) { opt = defaults ; } setOptions ( opt ) ; createPickers ( opt ) ; createSliders ( opt ) ; } ) . catch ( onError ) ; }
Load options from the browser storage.
Load options from the browser storage .