Fix the build

1. Update chrome version because v40 fails to clear the session store
2. Add message view to test page and fix bad reference to chrome
3. Update the message view template in tests with new timestmap markup

// FREEBIE
This commit is contained in:
lilia 2015-11-08 00:15:14 -08:00
parent d607996cf8
commit 038e263023
4 changed files with 16 additions and 11 deletions

View file

@ -124,7 +124,11 @@
},
onClosed: function(callback) {
// assumes only one front end window
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
if (window.chrome && chrome.app && chrome.app.window) {
return chrome.app.window.getAll()[0].onClosed.addListener(callback);
} else {
window.addEventListener('beforeunload', callback);
}
},
drawAttention: function(window_id) {