Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-1812

Example use of deviceready in docs is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • None
    • None
    • None

    Description

      This came from someone who submitted a pull req via GitHub to the PhoneGap project: https://github.com/phonegap/phonegap/pull/17

      Essentially the full example first waits for body onload before attaching to deviceready. We can eliminate that and directly attach to deviceready.

      Attachments

        Issue Links

          Activity

            People

              mwbrooks Michael William Brooks
              filmaj Filip Maj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: