Mercurial > lada > lada-client
comparison app/view/About.js @ 491:850ccfe5f3c4
Code style.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Fri, 31 Oct 2014 23:23:32 +0100 |
parents | debfcc7713e3 |
children | 7c0653e8d9f7 |
comparison
equal
deleted
inserted
replaced
490:446e99cfd425 | 491:850ccfe5f3c4 |
---|---|
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 { | 30 text: 'Abbrechen', |
31 text: 'Abbrechen', | 31 scope: this, |
32 scope: this, | 32 handler: this.close |
33 handler: this.close | 33 }]; |
34 } | 34 this.items = [{ |
35 html: "<h1>Lada</h1>Server version: " + | |
36 sver + "<br>Client version: " +cver } | |
35 ]; | 37 ]; |
36 this.items = [ | 38 this.callParent(arguments); |
37 { html: "<h1>Lada</h1>Server version: " + sver + "<br>Client version: " + cver } | |
38 ]; | |
39 this.callParent(); | |
40 } | 39 } |
41 }); | 40 }); |
42 | 41 |