aboutsummaryrefslogtreecommitdiff
path: root/web/Styles.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-02-03 12:11:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2015-02-03 12:11:21 +1300
commit0b166ca5fc20f7b857b214209df2ce8c23eb168c (patch)
treee3fb767807c57fed490fb8967a310921217ba5a8 /web/Styles.js
parentb79c04d23c386198a5b62a9dc0f874f9c2d05d02 (diff)
downloadtrackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.tar.gz
trackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.tar.bz2
trackermap-server-0b166ca5fc20f7b857b214209df2ce8c23eb168c.zip
Use static Ext classes
Diffstat (limited to 'web/Styles.js')
-rw-r--r--web/Styles.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/web/Styles.js b/web/Styles.js
index 3feca2700..ea154ba2e 100644
--- a/web/Styles.js
+++ b/web/Styles.js
@@ -14,7 +14,8 @@
* limitations under the License.
*/
-var styles = {
+Ext.define('Styles', {
+ singleton: true,
panel_padding: 10,
@@ -24,4 +25,4 @@ var styles = {
map_zoom: 6,
map_max_zoom: 16
-};
+});