Skip to content

Instantly share code, notes, and snippets.

View RecoX's full-sized avatar
🎯
Focusing

Lucas Recoaro RecoX

🎯
Focusing
View GitHub Profile
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";
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";