Simon Hunt
Committed by Gerrit Code Review

GUI - Added theme accessor to view token.

Change-Id: I0ee8b7c7c1b70762fc8fde4e88d22d37210bc636
......@@ -587,7 +587,8 @@
setRadio: this.setRadio,
setKeys: this.setKeys,
dataLoadError: this.dataLoadError,
alert: this.alert
alert: this.alert,
theme: this.theme
}
},
......@@ -679,6 +680,10 @@
setKeyBindings(keyArg);
},
theme: function () {
return current.theme;
},
uid: function (id) {
return makeUid(this, id);
},
......
......@@ -221,8 +221,7 @@
// Key Callbacks
function testMe(view) {
//view.alert('test');
noWebSock(true);
view.alert('Theme is ' + view.theme());
}
function abortIfLive() {
......