incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesse MacFadyen (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CB-1061) Create "Hello Cordova" Sample Application
Date Wed, 18 Jul 2012 23:05:36 GMT

    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417794#comment-13417794
] 

Jesse MacFadyen edited comment on CB-1061 at 7/18/12 11:04 PM:
---------------------------------------------------------------

Not sure what the purpose was of the bind method ( mis-direction ? )
Or the significance of having the 'report' method.

{code:title=index.js|borderStyle=solid} 
var app = {
    initialize: function() {
        document.addEventListener('deviceready', this.deviceready, false);
    },
    deviceready: function() {
        document.querySelector('#deviceready .pending').className += ' hide';
        var completeElem = document.querySelector('#deviceready .complete');
        completeElem.className = completeElem.className.split('hide').join('');
    }
};
{code} 




                
      was (Author: purplecabbage):
    var app = {
    initialize: function() {
        document.addEventListener('deviceready', this.deviceready, false);
    },
    deviceready: function() {
        document.querySelector('#deviceready .pending').className += ' hide';
        var completeElem = document.querySelector('#deviceready .complete');
        completeElem.className = completeElem.className.split('hide').join('');
    }
};


Not sure what the purpose was of the bind method ( mis-direction ? )
Or the significance of having the 'report' method.


                  
> Create "Hello Cordova" Sample Application
> -----------------------------------------
>
>                 Key: CB-1061
>                 URL: https://issues.apache.org/jira/browse/CB-1061
>             Project: Apache Cordova
>          Issue Type: New Feature
>    Affects Versions: 2.0.0
>         Environment: [incubator-cordova-labs] branch: hello-cordova
>            Reporter: Michael Brooks
>            Assignee: Michael Brooks
>             Fix For: 2.0.0
>
>
> Create a "Hello Cordova" sample web application that can be used as the default application
for all Cordova platforms.
> Existing work can be found as gists:
> - https://gist.github.com/2830598
> - https://gist.github.com/2830156
> Mailing-list conversation can be found at:
> - [Markmail "Standard Sample Application"|http://markmail.org/search/?q=%22Standard+Sample+Application%22#query:%22Standard%20Sample%20Application%22+page:1+mid:a55vkom5acy4y4up+state:results]

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message