mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-24 16:17:57 -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 |