chrome-ext-files/js/options.js
function restore_options() {
  // Use default value showChangeLog = true.
  chrome.storage.sync.get({
    showChangeLog: true
  }, function (items) {
    document.getElementById('show_changelog').checked = items.showChangeLog;
  });
}
function restore_options() {
  // Use default value showChangeLog = true.
  chrome.storage.sync.get({
    showChangeLog: true
  }, function (items) {
    document.getElementById('show_changelog').checked = items.showChangeLog;
  });
}
function restore_options ( ) { // Use default value showChangeLog = true. chrome . storage . sync . get ( { showChangeLog : true } , function ( items ) { document . getElementById ( 'show_changelog' ) . checked = items . showChangeLog ; } ) ; }
Restores select box and checkbox state using the preferences stored in chrome.storage.
Restores select box and checkbox state using the preferences stored in chrome . storage .