YuzuJS / WinningJS-todo

Demo todo list application for Windows 8, built on the WinningJS framework
11 stars 3 forks source link

Can we get rid of `div#todo-app`? #2

Open domenic opened 12 years ago

domenic commented 12 years ago

Ideally the template.jade for the App component could be a body tag, and instead of appending it to the body, it could just be the body. I'm not sure if that's possible though, given that body is such a special element and WinJS likes to throw DOM security exceptions all the time.

domenic commented 12 years ago

The problem is this code. There's no good way of turning a string representing a body element into a body element. We could match on <body I guess.