Wrong default values for isEnabled and isActive

This commit is contained in:
Sebastián Katzer 2014-12-14 15:41:04 +01:00
parent db7006cb18
commit c4a1a412d1
3 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,8 @@
## ChangeLog ## 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) #### Version 0.6.1 (14.12.2014)
- [enhancement:] Set default settings through `setDefaults`. - [enhancement:] Set default settings through `setDefaults`.
- [enhancement:] New method `isEnabled` to receive if mode is enabled. - [enhancement:] New method `isEnabled` to receive if mode is enabled.

View File

@ -68,6 +68,10 @@ More informations can be found [here][PGB_plugin].
## ChangeLog ## 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) #### Version 0.6.1 (14.12.2014)
- [enhancement:] Set default settings through `setDefaults`. - [enhancement:] Set default settings through `setDefaults`.
- [enhancement:] New method `isEnabled` to receive if mode is enabled. - [enhancement:] New method `isEnabled` to receive if mode is enabled.

View File

@ -46,14 +46,14 @@ channel.onCordovaReady.subscribe(function () {
* *
* Flag indicated if the mode is enabled. * Flag indicated if the mode is enabled.
*/ */
exports._isEnabled = true; exports._isEnabled = false;
/** /**
* @private * @private
* *
* Flag indicated if the mode is active. * Flag indicated if the mode is active.
*/ */
exports._isActive = true; exports._isActive = false;
/** /**
* @private * @private