Sha256: 836f3baebf16147ab0bb50df2f3fea6f9b49f79734864132b82c04f54c049ba7

Contents?: true

Size: 464 Bytes

Versions: 6

Compression:

Stored size: 464 Bytes

Contents

_.def("Sandbox.views.InstanceFilter").extends("Luca.components.FormView").with
  name: "instance_filter"
  well: true
  horizontal: true
  inline: true
  toolbar: false
  components:[
    ctype:"type_ahead_field"
    label:"Find by name"
    source: ()-> 
      names = _( Luca.registry.instances() ).pluck('name')
      _.uniq _( names ).compact()
  ,
    ctype: "type_ahead_field"
    label: "Find by class"
    source: ()->
      Luca.registry.classes(true)
  ]

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
luca-0.9.76 assets/javascripts/sandbox/views/inspector/instance_filter.coffee
luca-0.9.7 assets/javascripts/sandbox/views/inspector/instance_filter.coffee
luca-0.9.65 assets/javascripts/sandbox/views/inspector/instance_filter.coffee
luca-0.9.6 assets/javascripts/sandbox/views/inspector/instance_filter.coffee
luca-0.9.42 assets/javascripts/sandbox/views/inspector/instance_filter.coffee
luca-0.9.4 assets/javascripts/sandbox/views/inspector/instance_filter.coffee