Skip to content

Commit

Permalink
Comment out unused association configs
Browse files Browse the repository at this point in the history
  • Loading branch information
bmoeskau committed Aug 2, 2012
1 parent e218612 commit b3f6444
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions src/calendar/data/EventModel.js
Expand Up @@ -47,18 +47,19 @@ Ext.define('Extensible.calendar.data.EventModel', {

mappingIdProperty: 'EventId',

associations: [{
type: 'hasMany',
model: 'Extensible.calendar.data.EventModel',
primaryKey: 'EventId',
foreignKey: 'ParentId',
autoLoad: true
},{
type: 'belongsTo',
model: 'Extensible.calendar.data.EventModel',
primaryKey: 'EventId',
foreignKey: 'ParentId'
}],
// Experimental, not currently used:
// associations: [{
// type: 'hasMany',
// model: 'Extensible.calendar.data.EventModel',
// primaryKey: 'EventId',
// foreignKey: 'ParentId',
// autoLoad: true
// },{
// type: 'belongsTo',
// model: 'Extensible.calendar.data.EventModel',
// primaryKey: 'EventId',
// foreignKey: 'ParentId'
// }],

inheritableStatics: {
/**
Expand Down

0 comments on commit b3f6444

Please sign in to comment.