ftlabs / fastclick

Polyfill to remove click delays on browsers with touch UIs
MIT License
18.65k stars 3.22k forks source link

Something in the install documentation #294

Closed mkstix6 closed 10 years ago

mkstix6 commented 10 years ago

http://ftlabs.github.io/fastclick/ Downloading from this page AND following the usage information on this page works fine.

But i always seem to get an error when downloading the minified version and following the usage information on this page: https://github.com/ftlabs/fastclick

There are slight differences between the two snippets of code

The error i get is "ReferenceError: Can't find variable: FastClick"

matthew-andrews commented 10 years ago

I'm really sorry about this @mkstix6 - I hadn't explained clearly enough that the build service that I had linked to (which does the building & minification) exposes the module through Origami.fastclick - and that really was not obvious without reading through the build service documentation.

I've now added a note explaining this to the README.

mkstix6 commented 10 years ago

Ahh cool ok,

Ye i was downloading the minified version part way down the page.

No worries, It’s always nice to feel like i’m helping. 

Thanks for the reply.

Mark