You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Michael Brooks (JIRA)" <ji...@apache.org> on 2012/07/12 23:36:34 UTC

[jira] [Created] (CB-1061) Create "Hello Cordova" Sample Application

Michael Brooks created CB-1061:
----------------------------------

             Summary: 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

        

Re: [jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by Jesse <pu...@gmail.com>.
I have committed changes fixing the classList issue.
Also, I removed the bind method as it implied that there was some scope
issue that needed to be worked around.
I removed the 'report' method, as it was NOT a reusable method and did not
make sense.
( it took a DOM element ID as an arg, and yet it 'knew' that the element
had children with css classes of 'pending' and 'complete'.  I believe this
would simply confuse noobs more than it would encourage good practices. )

On Wed, Jul 18, 2012 at 4:45 PM, Filip Maj (JIRA) <ji...@apache.org> wrote:

>
>     [
> https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417858#comment-13417858]
>
> Filip Maj commented on CB-1061:
> -------------------------------
>
> I think the purpose of that was to encourage a nicer, clearer app
> structure. Surely not needed for our simple sample, but I think it's a good
> idea to keep.
>
> Also, re {{classList}}: webOS doesn't support it. According to [
> caniuse.com|http://caniuse.com/classlist], also iOS before 5.0 and
> Android before 3.0 would not support it either. So, definitely need to
> scrap it.
>
> > 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
>
>
>


-- 
@purplecabbage
risingj.com

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417932#comment-13417932 ] 

Michael Brooks commented on CB-1061:
------------------------------------

Thanks Jesse!
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417931#comment-13417931 ] 

Jesse MacFadyen commented on CB-1061:
-------------------------------------

https://issues.apache.org/jira/browse/CB-1098

Commit is here :
https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-labs.git;a=commit;h=cba0cd2ec2b7b66f9291e3dc4cd6980833f3c9cb

                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Herm Wong (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418012#comment-13418012 ] 

Herm Wong commented on CB-1061:
-------------------------------

should I replace the "kitchen sink" sample app in the webOS repo with the "Hello Cordova" app? The last set of changes work on the HP Touchpad running webOS 3.0.5.
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417858#comment-13417858 ] 

Filip Maj commented on CB-1061:
-------------------------------

I think the purpose of that was to encourage a nicer, clearer app structure. Surely not needed for our simple sample, but I think it's a good idea to keep.

Also, re {{classList}}: webOS doesn't support it. According to [caniuse.com|http://caniuse.com/classlist], also iOS before 5.0 and Android before 3.0 would not support it either. So, definitely need to scrap it.
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Brian LeRoux (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416554#comment-13416554 ] 

Brian LeRoux commented on CB-1061:
----------------------------------

Looks great on my Nexus!

                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417794#comment-13417794 ] 

Jesse MacFadyen commented on CB-1061:
-------------------------------------

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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417927#comment-13417927 ] 

Jesse MacFadyen commented on CB-1061:
-------------------------------------

Issue created, doing it now ...
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417694#comment-13417694 ] 

Michael Brooks commented on CB-1061:
------------------------------------

Now, do we want to bundle this sample app across all platforms for the 2.0.0 release?
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13415902#comment-13415902 ] 

Michael Brooks commented on CB-1061:
------------------------------------

A sample can be viewed here: http://tinyurl.com/hello-cordova

Tomorrow I will test it across device and address any rendering bugs. If you notice any, feel free to leave a comment here :)
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417693#comment-13417693 ] 

Michael Brooks commented on CB-1061:
------------------------------------

Great to hear Brian.

I've tested the application on the following browsers (not necessarily Cordova Web View):

- Android 4.x
- BlackBerry 7.x
- iOS 5.x
- Windows Phone
- webOS (small rendering error)
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417991#comment-13417991 ] 

Michael Brooks commented on CB-1061:
------------------------------------

Originally I wanted a simple smoke screen against each platform, but Jesse has done a great job of addressing the issues that popped up. 

So you're right, we should now copy the app source into each platform. :)
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417769#comment-13417769 ] 

Filip Maj commented on CB-1061:
-------------------------------

Alright what about for remove:

{{className.split('hide').join('');}}

And if you are adding, first remove then do:

{{className += ' ' + class;}}

?
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417760#comment-13417760 ] 

Jesse MacFadyen commented on CB-1061:
-------------------------------------

document.querySelector('#' + id + ' .pending').classList.add('hide');
document.querySelector('#' + id + ' .complete').classList.remove('hide');

classList is NOT supported everywhere!
                
> 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

        

[jira] [Comment Edited] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418006#comment-13418006 ] 

Shazron Abdullah commented on CB-1061:
--------------------------------------

Added :) (without the TM)
One thing -- we might need to add the Apache headers into everything,.,
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Shazron Abdullah (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417985#comment-13417985 ] 

Shazron Abdullah commented on CB-1061:
--------------------------------------

Just to clarify: "Create a "Hello Cordova" sample web application that can be used" really means we "should" add it to all the platforms right? Wasn't sure, so I just tested it without adding it in :)
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Filip Maj (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417911#comment-13417911 ] 

Filip Maj commented on CB-1061:
-------------------------------

... probably not. Should remove.
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Jesse MacFadyen (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417907#comment-13417907 ] 

Jesse MacFadyen commented on CB-1061:
-------------------------------------

So, one outstanding question on my end, I closed the issue this was previously posted to, so I am adding it to the parent issue.

Are we allowed to put 'tm' on the name Apache Cordova when it is NOT trademarked?

http://www.apache.org/foundation/marks/list/
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13413520#comment-13413520 ] 

Michael Brooks commented on CB-1061:
------------------------------------

Current progress can be found on [incubator-cordova-labs:hello-cordova|https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-labs.git;a=shortlog;h=refs/heads/hello-cordova].
                
> 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

        

[jira] [Commented] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13418040#comment-13418040 ] 

Michael Brooks commented on CB-1061:
------------------------------------

@Herm Yea, we're trying to have a common sample app across the board. That being said, if the webOS kitchen sink app has value to the user, you can always keep it in the repository for reference.
                
> 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

        

[jira] [Resolved] (CB-1061) Create "Hello Cordova" Sample Application

Posted by "Michael Brooks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Brooks resolved CB-1061.
--------------------------------

    Resolution: Fixed

Resolving since all platform's have signed of on testing and adding the sample app. Thanks everyone!
                
> 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