Browse Source

disable autocomplete

pull/123/head
butlerx 8 years ago
committed by cbutler
parent
commit
a9d5a1aeaa
No known key found for this signature in database GPG Key ID: 9EB3D625BD14DDEC
  1. 51
      public/.eslintrc
  2. 2
      public/index.html
  3. 2
      public/wetty/index.html

51
public/.eslintrc

@ -0,0 +1,51 @@
{
"extends": "standard",
"env": {
"es6": true,
"jest": true,
"browser": true
},
"globals": {
"GENTLY": true,
"chrome": true,
"hterm" : true,
"lib" : true,
"io" : true
},
"rules": {
"no-multi-spaces": 0,
"comma-dangle": [
"error",
"always-multiline"
],
"key-spacing": [
"error",
{
"multiLine": {
"beforeColon": false,
"afterColon": true
},
"align": {
"beforeColon": false,
"afterColon": true,
"on": "colon",
"mode": "strict"
}
}
],
"semi": [
"error",
"always"
],
"no-var": [
"error"
],
"prefer-const": [
"error",
{
"destructuring": "any",
"ignoreReadBeforeAssign": false
}
]
}
}

2
public/index.html

@ -39,7 +39,7 @@
<body>
<div id="overlay"><input type="button" onclick="javascript:location.reload();" value="reconnect" /></div>
<div id="terminal"></div>
<div id="terminal" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></div>
<script type="application/javascript">
window.addEventListener('beforeunload', function(e) {
e.returnValue = "Are you sure?";

2
public/wetty/index.html

@ -40,7 +40,7 @@
<body>
<div id="overlay"><input type="button" onclick="javascript:location.reload();" value="reconnect" /></div>
<div id="terminal"></div>
<div id="terminal"autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"></div>
</body>
</html>

Loading…
Cancel
Save