Rework app into a class

This simplifies usage, goes from

	app['Foo']
to
	app.Foo

Also makes static analyzers able to detect invalid attributes as the set
is now limited in the class definition.

As a bonus, setting of the default field values is now done in the
constructor, not separately and manually.
This commit is contained in:
Daniel Martí 2015-11-28 13:09:47 +01:00
parent de12cfdbe1
commit ab614ab442
18 changed files with 515 additions and 433 deletions

View file

@ -491,12 +491,16 @@ S'metadata/net.osmand.plus.xml'
p178
sS'Disabled'
p179
NsS'Update Check Name'
NsS'added'
p180
NsS'Vercode Operation'
NsS'lastupdated'
p181
NsS'Current Version'
NsS'Update Check Name'
p182
S'1.9.5'
NsS'Vercode Operation'
p183
NsS'Current Version'
p184
S'1.9.5'
p185
s.