Skip to content
  • This project
    • Loading...
  • Sign in

Дмитрий Корытько / hware

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • hardwareconfig
  • ..
  • model
  • MainConfig.js
  • root's avatar
    save · c4f08700
    c4f08700 Browse Files
    root authored 2015-07-15 15:22:44 +0400
MainConfig.js 505 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Ext.define('App.model.MainConfig', {
    extend : 'Ext.data.Model',
    
    fields : [
        {
            name : 'description',
            type : 'string'
        },
        {
            name : 'guid',
            type : 'string'
        }
    ],
    
    autoLoad: true,
    autoSync: true,
  // alias: 'store.devices',
    proxy : {
      type : 'ajax',
        api: {

          read: 'api/mainconfig/get'
    
        },
        reader : {
          type : 'json'
        }
      }
    
    
});