GitHub user jsoref opened a pull request:
https://github.com/apache/cordova-blackberry/pull/170
CB-5815 cordova not defined when pausing w/o cordova.js included
Don't call cordova.fireDocumentEvent for pause/resume events
unless cordova object is available
BB10 inactive/active events are mapped to Cordova events,
but they shouldn't trigger an exception if cordova.js isn't included
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jsoref/cordova-blackberry cb_5815
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-blackberry/pull/170.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #170
----
commit 3df35666d51d8ad6da62cee1f36b4c9afe827dc8
Author: Josh Soref <[email protected]>
Date: 2014-07-24T01:08:16Z
CB-5815 cordova not defined when pausing w/o cordova.js included
Don't call cordova.fireDocumentEvent for pause/resume events
unless cordova object is available
BB10 inactive/active events are mapped to Cordova events,
but they shouldn't trigger an exception if cordova.js isn't included
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---