unktomi / jspos

Automatically exported from code.google.com/p/jspos
0 stars 0 forks source link

Issue With Safari #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.  trying to include the lexicon.js_ in webpage(which we always do), but under 
safari

What is the expected output? What do you see instead?
The result shows up that there is a parser error for var POSTAGGER_LEXICON, 
first line of lexicon.js_

What version of the product are you using? On what operating system?
I am using this parser under mac os 10.6 snow leopard

Please provide any additional information below.
It works fine under firefox, which I hope it will also works for IE, I 
understand there are browser capability issues all around cods, just wonder if 
the parser error can be fixed soon at sometime?

with many thanks
Phil

Original issue reported on code.google.com by phil88...@gmail.com on 7 Jul 2011 at 1:49

Attachments:

GoogleCodeExporter commented 9 years ago
The lexicon contained 3 keys in the associative array that seem to be reserved 
words in Safari:

with
false
void

I quoted these and the parser seems to run fine in Safari now.

The 0.2.1 release includes this fix.

http://code.google.com/p/jspos/downloads/detail?name=jspos-0.2.1.zip&can=2&q=

Please let me know if this works and I'll close out the bug.

Original comment by pwj...@gmail.com on 8 Jul 2011 at 3:00