cotag / condo_example

An example Condo app
14 stars 4 forks source link

error: failed to load file fingerprinting component - FileReader is not defined #2

Closed interpegasus closed 11 years ago

interpegasus commented 11 years ago

Hi,

Currently I get an alert message that says: "error: failed to load file fingerprinting component"

Firefox console says: FileReader is not defined at: /condo-1.0.2/app/assets/javascripts/condo/md5/

Please find attached some screenshots. Could you please help to fix the issue? Thank you very much

SCREENSHOTS

https://s3-us-west-1.amazonaws.com/ingestion-cors.mobovivo.com/Screen+Shot+2012-12-04+at+8.40.42+PM.png

https://s3-us-west-1.amazonaws.com/ingestion-cors.mobovivo.com/Screen+Shot+2012-12-04+at+8.40.52+PM.png

interpegasus commented 11 years ago

Update: I tested hasher.js and it looks like it doesn't recognize standard JavaScript methods including the FileReader method.

Thanks in advance for any help

stakach commented 11 years ago

Hmmm see: https://developer.mozilla.org/en-US/docs/DOM/FileReader What version of firefox are you using?

I believe you need Firefox 7+

stakach commented 11 years ago

This looks like it could be the issue: http://news.ycombinator.com/item?id=3173201 Let me investigate further, currently working in all other browsers - I was able to replicate the issue in firefox so somthing is wrong

stakach commented 11 years ago

Ok, fixed. bundle update and should be working in FireFox again.