comparison app.js @ 491:850ccfe5f3c4

Code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Fri, 31 Oct 2014 23:23:32 +0100
parents 32ccce3b62a9
children d07e5086a64b
comparison
equal deleted inserted replaced
490:446e99cfd425 491:850ccfe5f3c4
22 // references! 22 // references!
23 name: 'Lada', 23 name: 'Lada',
24 24
25 // Setting up translations. This is done using a ext-plgin which can be 25 // Setting up translations. This is done using a ext-plgin which can be
26 // found on https://github.com/elmasse/Ext.i18n.Bundle 26 // found on https://github.com/elmasse/Ext.i18n.Bundle
27 requires: ['Ext.i18n.Bundle', 'Lada.lib.Helpers', 'Ext.layout.container.Column'], 27 requires: [
28 'Ext.i18n.Bundle',
29 'Lada.lib.Helpers',
30 'Ext.layout.container.Column'
31 ],
28 bundle: { 32 bundle: {
29 bundle: 'Lada', 33 bundle: 'Lada',
30 lang: 'de-DE', 34 lang: 'de-DE',
31 path: 'resources', 35 path: 'resources',
32 noCache: true 36 noCache: true
59 Ext.data.writer.Json.override({ 63 Ext.data.writer.Json.override({
60 getRecordData: function(record, getEverything) { 64 getRecordData: function(record, getEverything) {
61 if(this.writeEverything || record.writeEverything){ 65 if(this.writeEverything || record.writeEverything){
62 console.log('getRecordData', this,arguments); 66 console.log('getRecordData', this,arguments);
63 return record.getAllData(); 67 return record.getAllData();
64 } else { 68 }
69 else {
65 return this.callOverridden(arguments); 70 return this.callOverridden(arguments);
66 } 71 }
67 } 72 }
68 }); 73 });
69 74

http://lada.wald.intevation.org