Giter VIP home page Giter VIP logo

ember-cli-fastclick's Introduction

Ember CLI FastClick

Drop-in FastClick support for Ember CLI apps.

For more information on FastClick visit http://ftlabs.github.io/fastclick.

Note: As of late 2015 most mobile browsers - notably Chrome and Safari - no longer have a 300ms touch delay, so fastclick offers no benefit on newer browsers, and risks introducing bugs into your application. Consider carefully whether you really need to use it.

Installation

This is addon is installed in one simple step:

ember install ember-cli-fastclick

When you now access your app from a mobile device you should see that the 300ms touch delay was removed and the app feels more like a native app.

ember-cli-fastclick's People

Contributors

akatov avatar ember-tomster avatar gpoitch avatar hakubo avatar lawitschka avatar peterramsing avatar spieker avatar zzarcon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ember-cli-fastclick's Issues

project.nodeModulesPath deprecation

When running ember build with ember-cli-fastclick installed I see:

DEPRECATION: An addon is trying to access project.nodeModulesPath. This is not a reliable way to discover npm modules. Instead, consider doing: require("resolve").sync(something, { basedir: project.root }).
Accessed from:   new NPMDependencyVersionChecker (node_modules/ember-cli-fastclick/node_modules/ember-cli-version-checker/src/npm-dependency-version-checker.js:11:33)

Target being treated as passive

Hi,

I have the following code:
<div class="row" {{action "do" something}}></div>

The first time I click the action it works, anytime after it does nothing and prints the warning message to the console. The warning reads:

Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/5093566007214080

The line which is trggering the error is on line 446 of fastclick.js
event.preventDefault();

Does anyone have any ideas?

Missing dependencies

I'm having issues using ember-cli-fastclick, it appears to be lacking dependencies (as everything is defined as devDependencies).

It appears that in the latest version of ember-cli broccoli-stew is included because ember-cli depends on it, but I'm running an older version of ember-cli which cases the issue.

Regardless, all dependencies that are required for the library to run should be defined as dependencies and not devDependencies

ember install ember-cli-fastclick
Cannot find module 'broccoli-stew'
Error: Cannot find module 'broccoli-stew'
    at Function.Module._resolveFilename (module.js:337:15)
    at Function.Module._load (module.js:287:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/home/user/code/project/node_modules/ember-cli-fastclick/index.js:7:11)
    at Module._compile (module.js:435:26)
    at Object.Module._extensions..js (module.js:442:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:311:12)
    at Module.require (module.js:366:17)

Fix breaking changes in FastBoot 1.0

The current ember-cli-fastboot releases (1.0.0-rc.1 and above) introduce breaking changes. These will most likely break your current FastBoot implementation.

See ember-fastboot/ember-cli-fastboot#387 for more information and a guide on how to fix your addon. Also you may want to visit the -fastboot Slack channel to get help from other users.

Note: this issue has been created automatically, by searching for certain patterns in your code. If you think this has been falsely created, feel free to close!

Pls upgrade babel

As seen upon install...

DEPRECATION: ember-cli-babel 5.x has been deprecated. Please upgrade to at least ember-cli-babel 6.6. Version 5.2.8 located: swiss-army -> ember-cli-fastclick -> ember-cli-babel

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.