Im getting SyntaxError: Parse Error, only on safari. Here is the code.
<script type="text/javascript"> $(document).ready(function() { $("form").transload({ auth: {key: "b7deac9c96af6c745e914e25d0350baa"}, flow: { encode: { "use": ":original", "robot": "/video/encode", "preset": "flash", "width": 480, "height": 320 }, encode_iphone: { "use": ":original", "robot": "/video/encode", "preset": "iphone" }, export: { "use": ["encode","encode_iphone"], "robot": "/s3/store" } } }); }); </script>
I am using the transloadit jquery plugin. which works on every other page and loads safari perfectly in appearance.
Errors are on line 44, which
export: {
Can someone see something wrong with this page?
javascript jquery safari ruby-on-rails
Josh crowder
source share