Last active
August 29, 2015 14:11
-
-
Save poteto/cb73b39f8129c73e421e to your computer and use it in GitHub Desktop.
lazy-video initializer
This file contains 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
import LazyVideoProviders from 'ember-lazy-video/services/lazy-video-providers'; | |
export default { | |
name: 'lazy-video', | |
initialize: function(container, application){ | |
application.register('service:lazy-video-providers', LazyVideoProviders, { singleton: true }); | |
application.inject('component:lazy-video', 'providers', 'service:lazy-video-providers'); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment