1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Working on responsive dropdown menu components.

This commit is contained in:
Toby Zerner
2015-01-02 11:46:40 +10:30
parent 690174297d
commit 89c8f80f3f
10 changed files with 93 additions and 54 deletions

View File

@@ -48,15 +48,7 @@ export default Ember.ArrayProxy.extend({
firstItem: function() {
return this.objectAt(0);
}.property(),
secondItem: function() {
return this.objectAt(1);
}.property(),
remainingItems: function() {
return this.slice(2);
}.property(),
}.property('content.@each'),
getItem: function(name) {
return this.get('namedViews').get(name);