Commit e190318b by PiNotEqual3

rename _deafults => _defaults

parent 2811bfc8
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
*/ */
var LocalNotification = function () { var LocalNotification = function () {
this._deafults = { this._defaults = {
message: '', message: '',
title: '', title: '',
autoCancel: false, autoCancel: false,
...@@ -38,7 +38,7 @@ LocalNotification.prototype = { ...@@ -38,7 +38,7 @@ LocalNotification.prototype = {
* @return {Object} * @return {Object}
*/ */
getDefaults: function () { getDefaults: function () {
return this._deafults; return this._defaults;
}, },
/** /**
...@@ -79,7 +79,7 @@ LocalNotification.prototype = { ...@@ -79,7 +79,7 @@ LocalNotification.prototype = {
* @private * @private
*/ */
applyPlatformSpecificOptions: function () { applyPlatformSpecificOptions: function () {
var defaults = this._deafults; var defaults = this._defaults;
switch (device.platform) { switch (device.platform) {
case 'Android': case 'Android':
......
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