Commit Graph

7 Commits

Author SHA1 Message Date
David Greenspan
5e85c32ea6 Move asciiLowerCase to html-tools 2014-03-03 15:51:35 -08:00
David Greenspan
f6c766ae06 Start html.js refactor; case-fold at compile time
- Start shrinking html.js down to the 150-line file it can be
- Move "proper case" logic to the template compiler; the tagName of an HTMLjs tag is now in proper case.  This is both for better performance and reduced size and complexity of runtime code (i.e. blaze.js).
- Start moving html-tools to the HTMLTools namespace
2014-03-03 15:51:35 -08:00
David Greenspan
a6b3a431b2 further internal docs and cleanup 2014-01-03 17:27:17 -08:00
David Greenspan
683fa46ab4 Basic SVG support
Also: allow numbers and booleans in htmljs
2013-12-11 14:33:21 -08:00
David Greenspan
b5b292ddf6 pass tests 2013-12-10 11:30:17 -08:00
David Greenspan
556870983e more tests and fixes
- moved tojs.js into spacebars

Some failing tests in `spacebars-tests` and `ui`

```
meteor test-packages spacebars htmljs html spacebars-tests ui
```
2013-12-09 23:12:12 -08:00
David Greenspan
87921cf178 Redo the HTML representation; needs debugging
Puts HTML.Tag, toHTML, and toJS in the "htmljs" package.
Introduces toText for textareas and attributes.
Changes dynamic attribute representation.
Instances of HTML.Tag, HTML.CharRef, etc. are now "instanceof".

Once this code seems to work, we'll move packages around further.
- "htmljs" is the runtime; can even take out "tocode.js"
- "html-tools" (new package) takes over for "html".

Then, port the tests.
2013-12-09 22:23:27 -08:00