aaguerra / oryx-editor

Automatically exported from code.google.com/p/oryx-editor
0 stars 0 forks source link

Patch for /trunk/editor/client/scripts/utils.js #502

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Prevent critical error from being thrown when in strict mode (reproduce in 
Chrome 21). Since we are trying to detect if Chrome fails a check, it is 
appropriate to use a try-catch around the test. The workaround for Chrome is 
still applied if the check fails.

Original issue reported on code.google.com by jmhar...@gmail.com on 6 Sep 2012 at 4:10

Attachments: