cujojs / curl

curl.js is small, fast, extensible module loader that handles AMD, CommonJS Modules/1.1, CSS, HTML/text, and legacy scripts.
https://github.com/cujojs/curl/wiki
Other
1.89k stars 216 forks source link

Error in firefox after updating curl to the most recent version (css! plugin) #147

Closed satazor closed 11 years ago

satazor commented 11 years ago

TypeError: window.opera is undefined

ready = window.opera.toString() != '[object Opera]'

Should test for window.opera before calling toString on it.

unscriptable commented 11 years ago

Interesting. Obviously a timing issue since my tests don't catch that. Pushed a fix to dev branch. Will be in next release.