Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Commit

Permalink
Update foundation version "5.3.3" to "5.4.5"
Browse files Browse the repository at this point in the history
  • Loading branch information
sagar committed Oct 3, 2014
1 parent 4aabae8 commit d5db65f
Show file tree
Hide file tree
Showing 51 changed files with 2,182 additions and 1,096 deletions.
10 changes: 5 additions & 5 deletions assets/foundation/bower_components/fastclick/.bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastclick",
"version": "0.6.11",
"version": "1.0.3",
"main": "lib/fastclick.js",
"ignore": [
"**/.*",
Expand All @@ -11,13 +11,13 @@
"examples"
],
"homepage": "https://github.com/ftlabs/fastclick",
"_release": "0.6.11",
"_release": "1.0.3",
"_resolution": {
"type": "version",
"tag": "v0.6.11",
"commit": "57d35f73ca54e31ee37161e32f6ac11786f520d2"
"tag": "v1.0.3",
"commit": "0ea8330a63019a07c8ccc86deca866bb31189b66"
},
"_source": "git://github.com/ftlabs/fastclick.git",
"_target": "~0.6.11",
"_target": ">=0.6.11",
"_originalSource": "fastclick"
}
22 changes: 22 additions & 0 deletions assets/foundation/bower_components/fastclick/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Copyright (c) 2014 The Financial Times Ltd.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
7 changes: 0 additions & 7 deletions assets/foundation/bower_components/fastclick/LICENSE.txt

This file was deleted.

27 changes: 11 additions & 16 deletions assets/foundation/bower_components/fastclick/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ FastClick is developed by [FT Labs](http://labs.ft.com/), part of the Financial

[日本語で説明](https://developer.mozilla.org/ja/docs/Mozilla/Firefox_OS/Apps/Tips_and_techniques#Make_events_immediate)

[Краткое пояснение на русском языке](http://job-blog.bullgare.ru/2013/02/библиотека-для-более-отзывчивой-рабо/).

## Why does the delay exist? ##

According to [Google](https://developers.google.com/mobile/articles/fast_buttons):
Expand All @@ -33,21 +31,13 @@ FastClick doesn't attach any listeners on desktop browsers.

Chrome 32+ on Android with `width=device-width` in the [viewport meta tag](https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag) doesn't have a 300ms delay, therefore listeners aren't attached.

Same goes for Chrome on Android (all versions) with `user-scalable=no` in the viewport meta tag. But be aware that `user-scalable=no` also disables pinch zooming, which may be an accessibility concern.

```html
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta name="viewport" content="width=device-width, initial-scale=1">
```

For IE10, you can use `-ms-touch-action: none` to disable double-tap-to-zoom on certain elements (like links and buttons) as described in [this MSDN blog post](http://blogs.msdn.com/b/askie/archive/2013/01/06/how-to-implement-the-ms-touch-action-none-property-to-disable-double-tap-zoom-on-touch-devices.aspx). For example:

```css
a, input, button {
-ms-touch-action: none !important;
}
```
Same goes for Chrome on Android (all versions) with `user-scalable=no` in the viewport meta tag. But be aware that `user-scalable=no` also disables pinch zooming, which may be an accessibility concern.

You'll then have no tap delay on those elements, without needing FastClick.
For IE10, you can use `-ms-touch-action: none` to disable double-tap-to-zoom on certain elements (like links and buttons) as described in [this MSDN blog post](http://blogs.msdn.com/b/askie/archive/2013/01/06/how-to-implement-the-ms-touch-action-none-property-to-disable-double-tap-zoom-on-touch-devices.aspx).

## Usage ##

Expand Down Expand Up @@ -86,11 +76,16 @@ attachFastClick(document.body);

### Minified ###

Run `make` to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to `build/fastclick.min.js`.
Run `make` to build a minified version of FastClick using the Closure Compiler REST API. The minified file is saved to `build/fastclick.min.js` or you can [download a pre-minified version](http://build.origami.ft.com/bundles/js?modules=fastclick).

### AMD ###

FastClick has AMD (Asynchronous Module Definition) support. This allows it to be lazy-loaded with an AMD loader, such as [RequireJS](http://requirejs.org/).
FastClick has AMD (Asynchronous Module Definition) support. This allows it to be lazy-loaded with an AMD loader, such as [RequireJS](http://requirejs.org/). Note that when using the AMD style require, the full `FastClick` object will be returned, _not_ `FastClick.attach`

```js
var FastClick = require('fastclick');
FastClick.attach(document.body);
```

### Package managers ###

Expand Down Expand Up @@ -135,4 +130,4 @@ There are no automated tests. The files in `tests/` are manual reduced test case

## Credits and collaboration ##

The lead developer of FastClick is [Rowan Beentje](http://twitter.com/rowanbeentje) at FT Labs. This fork is currently maintained by [Matthew Caruana Galizia](http://twitter.com/mcaruanagalizia). All open source code released by FT Labs is licenced under the MIT licence. We welcome comments, feedback and suggestions. Please feel free to raise an issue or pull request. Enjoy.
FastClick is maintained by [Rowan Beentje](http://twitter.com/rowanbeentje), [Matthew Caruana Galizia](http://twitter.com/mcaruanagalizia) and [Matthew Andrews](http://twitter.com/andrewsmatt) at [FT Labs](http://labs.ft.com). All open source code released by FT Labs is licenced under the MIT licence. We welcome comments, feedback and suggestions. Please feel free to raise an issue or pull request.
2 changes: 1 addition & 1 deletion assets/foundation/bower_components/fastclick/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fastclick",
"version": "0.6.11",
"version": "1.0.3",
"main": "lib/fastclick.js",
"ignore": [
"**/.*",
Expand Down
Loading

0 comments on commit d5db65f

Please sign in to comment.