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 Ember from 'ember'; | |
import file from '../file'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
adToShow: Ember.computed("file.variable.{catType,listCategory,search}", function() { | |
if (file.variable.search == true) { | |
return "ad-search" | |
}else if (file.variablelistCategory) { | |
return "ad-listing-details"; |
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 Ember from 'ember'; | |
import file from '../file'; | |
export default Ember.Controller.extend({ | |
appName: 'Ember Twiddle', | |
adToShow: Ember.computed("file.variable.{catType,listCategory,search}", function() { | |
if (file.variable.search == true) { | |
return "ad-search" | |
}else if (file.variablelistCategory) { | |
return "ad-listing-details"; |