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
/
build
/
examples
/
kitchensink
/
classic
/
samples
/
store
/
Months.js
20 lines
(16 loc)
•
358 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Ext.
define
(
'KitchenSink.store.Months'
, {
extend
:
'Ext.data.Store'
,
alias
:
'store.months'
,
fields
: [
'id'
,
'name'
,
'number'
],
data
: Ext.Array.
map
(Ext.Date.monthNames, function (name, number) {
return
{
id
: number,
name
: name,
number
: number +
1
}; }) });