UNPKG
extjs-gpl
Version:
latest (6.2.0)
6.2.0
GPL licensed version of Sencha Ext JS
github.com/tananaev/extjs-gpl
tananaev/extjs-gpl
extjs-gpl
/
examples
/
classic
/
MVC
/
pandora
/
app
/
model
/
Song.js
13 lines
(12 loc)
•
315 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
Ext.
define
(
'Pandora.model.Song'
, {
extend
:
'Ext.data.Model'
,
fields
: [
'id'
,
'name'
,
'artist'
,
'album'
,
'played_date'
,
'station'
],
proxy
: {
type
:
'ajax'
,
url
:
'data/recentsongs.json'
,
reader
: {
type
:
'json'
,
rootProperty
:
'results'
} } });