forked from rc/aircox
work on player
This commit is contained in:
@ -1,8 +1,9 @@
|
||||
import Model from './model';
|
||||
import Model, {Set} from './model';
|
||||
|
||||
|
||||
export default class Sound extends Model {
|
||||
get name() { return this.data.name }
|
||||
get src() { return this.data.url }
|
||||
|
||||
static getId(data) { return data.pk }
|
||||
}
|
||||
|
Reference in New Issue
Block a user