mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
14 lines
No EOL
416 B
CoffeeScript
14 lines
No EOL
416 B
CoffeeScript
SearchView = require 'views/kinds/SearchView'
|
|
|
|
module.exports = class ThangTypeHomeView extends SearchView
|
|
id: 'thang-type-home-view'
|
|
modelLabel: 'Thang Type'
|
|
model: require 'models/ThangType'
|
|
modelURL: '/db/thang.type'
|
|
tableTemplate: require 'templates/editor/thang/table'
|
|
|
|
onSearchChange: =>
|
|
super()
|
|
@$el.find("img").error(-> $(this).hide())
|
|
|
|
# TODO: do the new thing on click, not just enter |