Created
May 9, 2015 20:24
-
-
Save ear/9ee5fb81ed65c07fac3b to your computer and use it in GitHub Desktop.
Ember FastClick
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* global FastClick */ | |
import Ember from 'ember'; | |
export function initialize() { | |
Ember.run.schedule('afterRender', () => FastClick.attach(document.body)); | |
} | |
export default { | |
name: '01-fastclick', | |
initialize: initialize | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
app.import('bower_components/fastclick/lib/fastclick.js'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment