You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Brian LeRoux <b...@brian.io> on 2013/11/28 22:10:38 UTC
proposal to simplify hello world
https://gist.github.com/brianleroux/7698123
Debating making the CSS external w/ the logo inlined. Probably would be
more clear.
Re: proposal to simplify hello world
Posted by Brian LeRoux <b...@brian.io>.
right, so dom scripting aside I'll take this as consensus we have room to
improve the default example
thx!
On Thu, Nov 28, 2013 at 1:31 PM, Jesse <pu...@gmail.com> wrote:
> Did you want to demonstrate how to show/hide divs?
>
> Why not just:
>
> <div id=deviceready class=blink>
> <p id=ready>Connecting to Device</p>
> </div>
>
> ready.innerText = "Device is Ready";
>
> or
>
> ready.textContent = "Device is Ready";
>
> or
> deviceready.innerHTML = '<p id=ready>Device is Ready</p>'
>
>
> Probably I am over-semantic, but I think the simpler the better.
> I would prefer a separate style sheet, with a good cross platform reset,
> and not much else. I even think we should dump the image.
>
>
> @purplecabbage
> risingj.com
>
>
> On Thu, Nov 28, 2013 at 1:10 PM, Brian LeRoux <b...@brian.io> wrote:
>
> > https://gist.github.com/brianleroux/7698123
> >
> > Debating making the CSS external w/ the logo inlined. Probably would be
> > more clear.
> >
>
Re: proposal to simplify hello world
Posted by Tommy-Carlos Williams <to...@devgeeks.org>.
I have been thinking about this, and happy to start a new thread if needed, but is there a valid reason to have DisallowOverscroll default to false?
I think we can all agree on getting rid of the nonexistent ‘webviewbounce’ that is misleadingly in the default config.xml now… but what about what the default should be on the real preference? Is there actually a use case for apps looking more like web pages and less like apps? I admit to being fairly platform-ignorant outside of the “big two”, so it might be that one of the other platforms needs this (though, I hope not, as that would raise a whole other issue around different platforms needing different values for a given preference since iOS nearly always needs this turned on).
- tommy
On 30 Nov 2013, at 3:33 am, Andrew Grieve <ag...@chromium.org> wrote:
> (plus webviewbounce doesn't exist)
Re: proposal to simplify hello world
Posted by Tommy Williams <to...@devgeeks.org>.
+1
On 30/11/2013 3:34 am, "Andrew Grieve" <ag...@chromium.org> wrote:
> I like the idea of scrapping the image to minimize the size (and making the
> app as simple as possible).
>
> Some specifics:
> - Should scrap the <preference>s so that platforms can define their
> defaults (plus webviewbounce doesn't exist).
> - missing <!DOCTYPE html>
> - viewport metatag should have device-height removed.
> - Since we support WP, we shouldn't have only -webkit prefixes in CSS
>
>
>
> On Thu, Nov 28, 2013 at 4:31 PM, Jesse <pu...@gmail.com> wrote:
>
> > Did you want to demonstrate how to show/hide divs?
> >
> > Why not just:
> >
> > <div id=deviceready class=blink>
> > <p id=ready>Connecting to Device</p>
> > </div>
> >
> > ready.innerText = "Device is Ready";
> >
> > or
> >
> > ready.textContent = "Device is Ready";
> >
> > or
> > deviceready.innerHTML = '<p id=ready>Device is Ready</p>'
> >
> >
> > Probably I am over-semantic, but I think the simpler the better.
> > I would prefer a separate style sheet, with a good cross platform reset,
> > and not much else. I even think we should dump the image.
> >
> >
> > @purplecabbage
> > risingj.com
> >
> >
> > On Thu, Nov 28, 2013 at 1:10 PM, Brian LeRoux <b...@brian.io> wrote:
> >
> > > https://gist.github.com/brianleroux/7698123
> > >
> > > Debating making the CSS external w/ the logo inlined. Probably would be
> > > more clear.
> > >
> >
>
Re: proposal to simplify hello world
Posted by Andrew Grieve <ag...@chromium.org>.
I like the idea of scrapping the image to minimize the size (and making the
app as simple as possible).
Some specifics:
- Should scrap the <preference>s so that platforms can define their
defaults (plus webviewbounce doesn't exist).
- missing <!DOCTYPE html>
- viewport metatag should have device-height removed.
- Since we support WP, we shouldn't have only -webkit prefixes in CSS
On Thu, Nov 28, 2013 at 4:31 PM, Jesse <pu...@gmail.com> wrote:
> Did you want to demonstrate how to show/hide divs?
>
> Why not just:
>
> <div id=deviceready class=blink>
> <p id=ready>Connecting to Device</p>
> </div>
>
> ready.innerText = "Device is Ready";
>
> or
>
> ready.textContent = "Device is Ready";
>
> or
> deviceready.innerHTML = '<p id=ready>Device is Ready</p>'
>
>
> Probably I am over-semantic, but I think the simpler the better.
> I would prefer a separate style sheet, with a good cross platform reset,
> and not much else. I even think we should dump the image.
>
>
> @purplecabbage
> risingj.com
>
>
> On Thu, Nov 28, 2013 at 1:10 PM, Brian LeRoux <b...@brian.io> wrote:
>
> > https://gist.github.com/brianleroux/7698123
> >
> > Debating making the CSS external w/ the logo inlined. Probably would be
> > more clear.
> >
>
Re: proposal to simplify hello world
Posted by Jesse <pu...@gmail.com>.
Did you want to demonstrate how to show/hide divs?
Why not just:
<div id=deviceready class=blink>
<p id=ready>Connecting to Device</p>
</div>
ready.innerText = "Device is Ready";
or
ready.textContent = "Device is Ready";
or
deviceready.innerHTML = '<p id=ready>Device is Ready</p>'
Probably I am over-semantic, but I think the simpler the better.
I would prefer a separate style sheet, with a good cross platform reset,
and not much else. I even think we should dump the image.
@purplecabbage
risingj.com
On Thu, Nov 28, 2013 at 1:10 PM, Brian LeRoux <b...@brian.io> wrote:
> https://gist.github.com/brianleroux/7698123
>
> Debating making the CSS external w/ the logo inlined. Probably would be
> more clear.
>