From b6004b19a3ffb5ccfc869aa87c86345c21ee818e Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Wed, 10 Sep 2014 14:38:30 -0700 Subject: [PATCH 1/4] Add documentation about fastclick --- docs/client/packages.html | 1 + docs/client/packages/fastclick.html | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 docs/client/packages/fastclick.html diff --git a/docs/client/packages.html b/docs/client/packages.html index 3a22d2fdb0..71ed5b363b 100644 --- a/docs/client/packages.html +++ b/docs/client/packages.html @@ -27,6 +27,7 @@ Meteor Development Group maintains the following packages: {{> pkg_browser_policy}} {{> pkg_coffeescript}} {{> pkg_d3}} +{{> pkg_fastclick}} {{> pkg_force_ssl}} {{> pkg_jquery}} {{> pkg_less}} diff --git a/docs/client/packages/fastclick.html b/docs/client/packages/fastclick.html new file mode 100644 index 0000000000..2692d80422 --- /dev/null +++ b/docs/client/packages/fastclick.html @@ -0,0 +1,17 @@ + From 9d5629e86117f53a8a0d8c31886c2e736f0211d7 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Wed, 10 Sep 2014 14:43:25 -0700 Subject: [PATCH 2/4] Made a small change to fastclick docs --- docs/client/docs.js | 1 + docs/client/packages/fastclick.html | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/client/docs.js b/docs/client/docs.js index 9628ade502..50aa37e788 100644 --- a/docs/client/docs.js +++ b/docs/client/docs.js @@ -396,6 +396,7 @@ var toc = [ "browser-policy", "coffeescript", "d3", + "fastclick", "force-ssl", "jquery", "less", diff --git a/docs/client/packages/fastclick.html b/docs/client/packages/fastclick.html index 2692d80422..a18578a6a7 100644 --- a/docs/client/packages/fastclick.html +++ b/docs/client/packages/fastclick.html @@ -8,10 +8,10 @@ apps to ensure the best user experience. From the [README on GitHub](https://github.com/ftlabs/fastclick): -> FastClick is a simple, easy-to-use library for eliminating the 300ms delay +"FastClick is a simple, easy-to-use library for eliminating the 300ms delay between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while -avoiding any interference with your current logic. +avoiding any interference with your current logic." {{/markdown}} From 3aeca8d4618dddd774fc8e1fa96d31c078e73c75 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Wed, 10 Sep 2014 15:27:54 -0700 Subject: [PATCH 3/4] Add a part about how to disable fastclick for an element --- docs/client/packages/fastclick.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/client/packages/fastclick.html b/docs/client/packages/fastclick.html index a18578a6a7..b748872d17 100644 --- a/docs/client/packages/fastclick.html +++ b/docs/client/packages/fastclick.html @@ -13,5 +13,13 @@ between a physical tap and the firing of a click event on mobile browsers. The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic." +In case you want to disable FastClick for certain elements, you can add the +"needsclick" class as described in [advanced section](https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick) +of the FastClick documentation: + +```html +Ignored by FastClick +``` + {{/markdown}} From 8e6f9ab3cc7b45a12e234390e40a3690fd122624 Mon Sep 17 00:00:00 2001 From: Sashko Stubailo Date: Wed, 10 Sep 2014 15:28:46 -0700 Subject: [PATCH 4/4] Typo --- docs/client/packages/fastclick.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/client/packages/fastclick.html b/docs/client/packages/fastclick.html index b748872d17..7089cecf1c 100644 --- a/docs/client/packages/fastclick.html +++ b/docs/client/packages/fastclick.html @@ -14,7 +14,7 @@ The aim is to make your application feel less laggy and more responsive while avoiding any interference with your current logic." In case you want to disable FastClick for certain elements, you can add the -"needsclick" class as described in [advanced section](https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick) +"needsclick" class as described in the [advanced section](https://github.com/ftlabs/fastclick#ignore-certain-elements-with-needsclick) of the FastClick documentation: ```html