chore(dom) Notify

This commit is contained in:
coderaiser 2013-11-19 08:03:16 +00:00
parent 7eaf2e266d
commit 1a6a1ca3b5

View file

@ -643,7 +643,9 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
};
},
NotifyProto = function() {
var Show, Allow, Notify = this;
var Show, Allow,
Notify = this,
Notification = window.Notification;
Events.add({
'blur' :function() {
@ -683,7 +685,7 @@ var CloudCmd, Util, DOM, CloudFunc, Dialog;
};
this.request = function () {
var Not = window.Notification;
var Not = Notification;
if (Not)
Not.requestPermission();