Commit 78bb3e81 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Merge pull request #100 from PiNotEqual3/patch-1

rename _deafults => _defaults
parents 2811bfc8 e190318b
Loading
Loading
Loading
Loading
+3 −3
Changes for www/local-notification.js: 3 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@
*/

var LocalNotification = function () {
    this._deafults = {
    this._defaults = {
        message:    '',
        title:      '',
        autoCancel: false,
@@ -38,7 +38,7 @@ LocalNotification.prototype = {
     * @return {Object}
     */
    getDefaults: function () {
        return this._deafults;
        return this._defaults;
    },

    /**
@@ -79,7 +79,7 @@ LocalNotification.prototype = {
     * @private
     */
    applyPlatformSpecificOptions: function () {
        var defaults = this._deafults;
        var defaults = this._defaults;

        switch (device.platform) {
        case 'Android':