addyosmani / getUserMedia.js

Shim for getUserMedia(). Uses native implementation for modern browsers and a Flash fallback for everyone else.
MIT License
903 stars 158 forks source link

Typo in example code documentation #19

Closed sillevl closed 11 years ago

sillevl commented 11 years ago

there is a typo in the example code in the documentation. There is a space next to 'webrtc' string that keeps failing the if. This space is not in the demo code.

if (App.options.context === 'webrtc ') {
                                   ^

should be

if (App.options.context === 'webrtc') {
addyosmani commented 11 years ago

Thanks!