Created
July 11, 2013 07:26
-
-
Save joachimhs/5973284 to your computer and use it in GitHub Desktop.
Strange ===
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
| Embriak.BucketLiView = Ember.View.extend({ | |
| tagName: 'li', | |
| template: Ember.Handlebars.compile('{{#linkTo keys this}}{{id}}{{/linkTo}}'), | |
| classNameBinding: 'active', | |
| active: function() { | |
| console.log("this.get('content.id') === this.get('controller.controllers.keys.content.id'): '" + this.get('content.id') + "' ::: '" + this.get('controller.controllers.keys.content.id') + "'"); | |
| console.log("this.get('content.id') === this.get('controller.controllers.keys.content.id'): " + this.get('content.id') === this.get('controller.controllers.keys.content.id')); | |
| return this.get('content.id') === this.get('controller.controllers.keys.content.id'); | |
| }.property('controller.controllers.keys.content.id') | |
| }); | |