Drop unneeded imports for gravatarImage
This commit is contained in:
parent
83bb882475
commit
b68ae942a6
|
@ -1,5 +1,4 @@
|
|||
`import Ember from 'ember'`
|
||||
`import { gravatarImage } from 'travis/utils/urls'`
|
||||
`import { githubCommit as githubCommitUrl } from 'travis/utils/urls'`
|
||||
`import TravisRoute from 'travis/routes/basic'`
|
||||
`import config from 'travis/config/environment'`
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
`import Ember from 'ember'`
|
||||
`import { gravatarImage } from 'travis/utils/urls'`
|
||||
`import GithubUrlPropertievs from 'travis/mixins/github-url-properties'`
|
||||
|
||||
BranchesController = Ember.Controller.extend
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
`import Ember from 'ember'`
|
||||
`import { gravatarImage } from 'travis/utils/urls'`
|
||||
`import GithubUrlPropertievs from 'travis/mixins/github-url-properties'`
|
||||
|
||||
Controller = Ember.Controller.extend GithubUrlPropertievs,
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
`import Ember from 'ember'`
|
||||
`import { colorForState } from 'travis/utils/helpers'`
|
||||
`import { githubCommit, gravatarImage } from 'travis/utils/urls'`
|
||||
`import { githubCommit } from 'travis/utils/urls'`
|
||||
`import Polling from 'travis/mixins/polling'`
|
||||
|
||||
View = Ember.View.extend Polling,
|
||||
|
@ -20,12 +20,4 @@ View = Ember.View.extend Polling,
|
|||
githubCommit(@get('repo.slug'), @get('commit.sha'))
|
||||
).property('repo.slug', 'commit.sha')
|
||||
|
||||
urlCommitterGravatarImage: (->
|
||||
gravatarImage(@get('commit.committerEmail'), 40)
|
||||
).property('commit.committerEmail')
|
||||
|
||||
urlAuthorGravatarImage: (->
|
||||
gravatarImage(@get('commit.authorEmail'), 40)
|
||||
).property('commit.authorEmail')
|
||||
|
||||
`export default View`
|
||||
|
|
Loading…
Reference in New Issue
Block a user