cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian LeRoux...@brian.io>
Subject Re: proposal to simplify hello world
Date Sat, 30 Nov 2013 22:35:59 GMT
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 <purplecabbage@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.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message