mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-04 12:51:12 -05:00
14 lines
No EOL
417 B
CoffeeScript
14 lines
No EOL
417 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 |