Filip Maj created CB-1812:
-----------------------------

             Summary: Example use of deviceready in docs is incorrect
                 Key: CB-1812
                 URL: https://issues.apache.org/jira/browse/CB-1812
             Project: Apache Cordova
          Issue Type: Bug
          Components: Docs
    Affects Versions: 2.2.0
            Reporter: Filip Maj
            Assignee: Michael Brooks


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}}.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to