/ext-4.1.0_b3/docs/extjs/examples/calendar/src/data/Calendars.js

https://bitbucket.org/srogerf/javascript · JavaScript · 18 lines · 18 code · 0 blank · 0 comment · 0 complexity · b1940f21ddce135409ec9d43469cbaee MD5 · raw file

  1. Ext.define('Ext.calendar.data.Calendars', {
  2. statics: {
  3. getData: function(){
  4. return {
  5. "calendars":[{
  6. "id": 1,
  7. "title": "Home"
  8. },{
  9. "id": 2,
  10. "title": "Work"
  11. },{
  12. "id": 3,
  13. "title": "School"
  14. }]
  15. };
  16. }
  17. }
  18. });