/** Restful API for gradeeditor RegistryItems */
Ext.syncRequire('devilry.extjshelpers.RestProxy');
Ext.define('devilry.gradeeditors.RestfulRegistryItem', {
    extend: 'Ext.data.Model',
    requires: ['devilry.extjshelpers.RestProxy'],

    fields: [
        {name: 'gradeeditorid', type: 'string'},
        {name: 'title', type: 'string'},
        {name: 'description', type: 'string'},
        {name: 'config_editor_url', type: 'string'},
        {name: 'draft_editor_url', type: 'string'}
    ],

    proxy: Ext.create('devilry.extjshelpers.RestProxy', {
        url: DevilrySettings.DEVILRY_URLPATH_PREFIX + '/gradeeditors/restfulgradeeditorconfig/',
        headers: {
            'X_DEVILRY_USE_EXTJS': true
        },
        reader: {
            type: 'json',
            root: 'items',
            totalProperty: 'total'
        }
    })
});

@@ -46,59 +46,8 @@
  */%0A
-Ext.syncRequire('devilry.extjshelpers.RestProxy');%0A
 Ext.
@@ -132,58 +132,8 @@
 el',
-%0A    requires: %5B'devilry.extjshelpers.RestProxy'%5D,
 %0A%0A  
@@ -408,54 +408,43 @@
 xy: 
-Ext.create('devilry.extjshelpers.RestP
+%7B%0A        type: 'devilryrestp
 roxy',
- %7B
 %0A   
@@ -728,14 +728,13 @@
  %7D%0A    %7D
-)
 %0A%7D);%0A

Use the devilryrestproxy alias.