Commit f0f3d4c0 by Sebastián Katzer

Add alias

parent eb4f357d
...@@ -271,6 +271,11 @@ exports.registerPermission = function (callback, scope) { ...@@ -271,6 +271,11 @@ exports.registerPermission = function (callback, scope) {
exec(null, null, 'LocalNotification', 'registerPermission', []); exec(null, null, 'LocalNotification', 'registerPermission', []);
}; };
exports.promptForPermission = function (callback, scope) {
console.warn('Depreated: Please use `notification.local.registerPermission` instead.');
exports.registerPermission.apply(this, arguments);
};
/** /**
* Occurs when a notification was added. * Occurs when a notification was added.
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment