code: function resetAndCompileContents(contents, newOptions) {
    input.setValue(contents);
    updateLocation(contents);
    options.setFromObject(newOptions);
    compileContents(contents);
  }
docs: When options are changed we write // Options back into the source and recompile with these options.