From c4a1a412d1d76fdc1d0dd96bf7e7d060de740735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Katzer?= Date: Sun, 14 Dec 2014 15:41:04 +0100 Subject: [PATCH] Wrong default values for `isEnabled` and `isActive` --- CHANGELOG.md | 4 ++++ README.md | 4 ++++ www/background-mode.js | 4 ++-- 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 541434a..8870f16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,8 @@ ## ChangeLog +#### Version 0.6.2 (14.12.2014) +- [bugfix:] Type error +- [bugfix:] Wrong default values for `isEnabled` and `isActive`. + #### Version 0.6.1 (14.12.2014) - [enhancement:] Set default settings through `setDefaults`. - [enhancement:] New method `isEnabled` to receive if mode is enabled. diff --git a/README.md b/README.md index 5e0027a..96ad782 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,10 @@ More informations can be found [here][PGB_plugin]. ## ChangeLog +#### Version 0.6.2 (not yet released) +- [bugfix:] Type error +- [bugfix:] Wrong default values for `isEnabled` and `isActive`. + #### Version 0.6.1 (14.12.2014) - [enhancement:] Set default settings through `setDefaults`. - [enhancement:] New method `isEnabled` to receive if mode is enabled. diff --git a/www/background-mode.js b/www/background-mode.js index 6e159eb..c07d8fe 100644 --- a/www/background-mode.js +++ b/www/background-mode.js @@ -46,14 +46,14 @@ channel.onCordovaReady.subscribe(function () { * * Flag indicated if the mode is enabled. */ -exports._isEnabled = true; +exports._isEnabled = false; /** * @private * * Flag indicated if the mode is active. */ -exports._isActive = true; +exports._isActive = false; /** * @private