LeaVerou / dabblet

An interactive CSS playground
http://dabblet.com
817 stars 148 forks source link

Make 'crlf' a local variable instead of global #253

Closed toothbrush7777777 closed 9 years ago

toothbrush7777777 commented 9 years ago

Fixed a slight issue on line 7 of code/editor.js where crlf was being defined in the global scope instead of the local scope.

LeaVerou commented 9 years ago

Hey, thanks. Is the lowercase one even used anywhere? At least in that file it’s not. If it’s not used in any other files either, it might be better to just delete it.

toothbrush7777777 commented 9 years ago

I checked, and it's not used anywhere. I've removed it from both editor.js and prism.js.

LeaVerou commented 9 years ago

Thanks!