added Messenger.js, to replace window.alert() and future notifications.

This commit is contained in:
kay.one 2013-04-23 22:57:26 -07:00 committed by Keivan Beigi
parent 19732ba31a
commit 5c61863856
6 changed files with 1773 additions and 2 deletions

View file

@ -14,6 +14,11 @@ define(['app', 'Shared/NotificationModel'], function () {
this.push(model);
*/
window.alert = function (message) {
window.Messenger().post(message);
};
var self = this;
window.onerror = function (msg, url, line) {