cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From imgx64 <...@git.apache.org>
Subject [GitHub] cordova-plugin-statusbar pull request #79: Browser: Check callback exists be...
Date Thu, 04 May 2017 10:55:25 GMT
GitHub user imgx64 opened a pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/79

    Browser: Check callback exists before calling it

    ### Platforms affected
    Browser.
    
    ### What does this PR do?
    Fix exception in Browser platform when calling StatusBar.styleDefault() (The error is:
ERROR TypeError: win is not a function).
    
    ### What testing has been done on this change?
    I Ran it in a browser, and it stopped throwing the exception.
    
    ### Checklist
    (I think this change is too trivial for the below, but I can do it it if necessary)
    - [ ] [Reported an issue](http://cordova.apache.org/contribute/issues.html) in the JIRA
database
    - [ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file
paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
    - [ ] Added automated test coverage as appropriate for this change.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/imgx64/cordova-plugin-statusbar patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-statusbar/pull/79.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 #79
    
----
commit 5d97cfab37f55ce69eebb1c8f9c9c50768c870f1
Author: imgx64 <imgx64@gmail.com>
Date:   2017-05-04T10:02:38Z

    Browser: Check callback exists before calling it

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org


Mime
View raw message