* Some code cleanup

+ Bit of skeleton for TickerTextView
* Detach of events in ViewController
This commit is contained in:
Bryan Ashby
2014-11-04 00:34:54 -07:00
parent eaf2aae48d
commit d242546458
5 changed files with 104 additions and 4 deletions

View File

@@ -29,7 +29,7 @@ function entryPoint(client) {
//art.getArt('SO-CC1.ANS'/* 'MATRIX'*/, { types: ['.ans'], random: true}, function onArt(err, theArt) {
//client.user.properties.art_theme_id = '';
theme.getThemeArt('MATRIX_1.ANS', client.user.properties.art_theme_id, function onArt(err, theArt) {
theme.getThemeArt('MCI_ET1.ANS', client.user.properties.art_theme_id, function onArt(err, theArt) {
//art.getArt('MATRIX_1.ANS', {}, function onArt(err, theArt) {
if(!err) {

View File

@@ -35,6 +35,7 @@ function entryPoint(client) {
function artDisplayed(mci, callback) {
var vc = new viewController.ViewController(client);
vc.loadFromMCIMap(mci);
vc.getView(1).setItems(['Item 1', 'Item Two', 'The Third']);
vc.setViewOrder();
vc.switchFocus(1);
}