mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-11 00:02:19 -05:00
870ae9a8a1
Use selected hero in Course mode play Show selected hero on Courses (in progress) Add hero select modal Use short names, only show warriors Use box-shadow instead of borders Add tests for HeroSelectModal Refactor modal opening test Address code review feedback
11 lines
281 B
CoffeeScript
11 lines
281 B
CoffeeScript
CocoCollection = require 'collections/CocoCollection'
|
|
ThangType = require 'models/ThangType'
|
|
|
|
module.exports = class ThangTypeCollection extends CocoCollection
|
|
url: '/db/thang.type'
|
|
model: ThangType
|
|
|
|
fetchHeroes: ->
|
|
@fetch {
|
|
url: '/db/thang.type?view=heroes'
|
|
}
|