mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-28 10:06:08 -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 |