fix linter issues

pull/1/head
greg 7 years ago
parent 280f3f7a3e
commit 193bae607b
  1. 9
      src/app.js

@ -237,11 +237,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// Run the compiler instead of trying to save the website
$(window).keydown(function (e) {
if ((e.metaKey || e.ctrlKey) && e.keyCode == 83) { /*ctrl+s or command+s*/
e.preventDefault();
runCompiler();
// ctrl+s or command+s
if ((e.metaKey || e.ctrlKey) && e.keyCode === 83) {
e.preventDefault()
runCompiler()
}
});
})
function importExternal (url, cb) {
self._components.compilerImport.import(url,

Loading…
Cancel
Save