Sha256: 9febcc888eb547e653e41fc6ee0279e281d4e70b5d9eae573ad70ce180cde2a8
Contents?: true
Size: 613 Bytes
Versions: 16
Compression:
Stored size: 613 Bytes
Contents
Dashboard.SearchTab = Ember.View.extend type: 'view' templateName: 'search-tab' routeName: '' tagName: '' routeParams: (-> @get('controller.searchRouteParams') ).property('controller.searchRouteParams') hasSearch: (-> hasValues = (values)-> results = [] $.map values, (value)=> if Ember.typeOf(value) == 'object' results.push hasValues(value) else if !Ember.isEmpty(value) results.push true return [].concat.apply([], results) return $.inArray(true, hasValues(@get('controller.search'))) != -1 ).property('controller.search')
Version data entries
16 entries across 16 versions & 1 rubygems