technohippy / protobuf-js

Automatically exported from code.google.com/p/protobuf-js
0 stars 0 forks source link

[PATCH] Syntax error in Safari 3.1.2 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How to reproduce the issue:

1. Start server ruby ./bin/start_server.rb
2. Open http://localhost:10080/ in Safari 3.1.4
3. Open "Error Console", you can see SyntaxError: Parse error (line 27)

protobuf.js line 27:

  var [type, tag] = this.readKey();

Safari does not support Destructuring assignment (New in JavaScript 1.7). The 
attached patch 
removes it.

Original issue reported on code.google.com by takanori...@gmail.com on 3 Oct 2008 at 1:46

Attachments:

GoogleCodeExporter commented 9 years ago
Done. Thanks.

Original comment by andy...@gmail.com on 5 Oct 2008 at 1:30