comparison app/view/About.js @ 497:7c0653e8d9f7

Fixed some js related issues (unused vars, arrays, etc.) and code style.
author Raimund Renkert <raimund.renkert@intevation.de>
date Thu, 06 Nov 2014 10:38:17 +0100
parents 850ccfe5f3c4
children
comparison
equal deleted inserted replaced
496:d07e5086a64b 497:7c0653e8d9f7
1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz 1 /* Copyright (C) 2013 by Bundesamt fuer Strahlenschutz
2 * Software engineering by Intevation GmbH 2 * Software engineering by Intevation GmbH
3 * 3 *
4 * This file is Free Software under the GNU GPL (v>=3) 4 * This file is Free Software under the GNU GPL (v>=3)
5 * and comes with ABSOLUTELY NO WARRANTY! Check out 5 * and comes with ABSOLUTELY NO WARRANTY! Check out
6 * the documentation coming with IMIS-Labordaten-Application for details. 6 * the documentation coming with IMIS-Labordaten-Application for details.
7 */ 7 */
8 8
9 /* 9 /*
10 * Window to edit a Probe 10 * Window to edit a Probe
11 */ 11 */
19 width: 200, 19 width: 200,
20 height: 200, 20 height: 200,
21 autoShow: true, 21 autoShow: true,
22 autoScroll: true, 22 autoScroll: true,
23 modal: true, 23 modal: true,
24 layout: "fit", 24 layout: 'fit',
25 25
26 initComponent: function() { 26 initComponent: function() {
27 var sver = "1.0"; 27 var sver = '1.0';
28 var cver = "1.0"; 28 var cver = '1.0';
29 this.buttons = [{ 29 this.buttons = [{
30 text: 'Abbrechen', 30 text: 'Abbrechen',
31 scope: this, 31 scope: this,
32 handler: this.close 32 handler: this.close
33 }]; 33 }];
34 this.items = [{ 34 this.items = [{
35 html: "<h1>Lada</h1>Server version: " + 35 html: '<h1>Lada</h1>Server version: ' +
36 sver + "<br>Client version: " +cver } 36 sver + '<br>Client version: ' + cver
37 ]; 37 }];
38 this.callParent(arguments); 38 this.callParent(arguments);
39 } 39 }
40 }); 40 });
41

http://lada.wald.intevation.org