Remove automatic code execution from hash fragment. References #16

This commit is contained in:
Florian Mounier
2014-03-02 19:03:44 +01:00
parent 6b8758dc3e
commit 713cf483ca
3 changed files with 2 additions and 6 deletions

View File

@@ -14,7 +14,7 @@
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '1.2.5'
__version__ = '1.2.6'
import os

View File

@@ -38,10 +38,6 @@ ws = new WebSocket ws_url
ws.addEventListener 'open', ->
console.log "WebSocket open", arguments
ws.send 'R' + term.cols + ',' + term.rows
if location.hash
setTimeout ->
ws.send 'S' + location.hash.slice(1) + '\n'
, 100
ws.addEventListener 'error', ->
console.log "WebSocket error", arguments

File diff suppressed because one or more lines are too long