Commit Graph

47 Commits (ecf05ad36e78c784629f7f70d0c07b483e1df76a)

Author SHA1 Message Date
Rich Harris b81ff3e73d Merge pull request #138 from sveltejs/gh-137
8 years ago
Rich-Harris a72955faa2 fix typo, disallow multiple style/script tags
8 years ago
Rich-Harris 06a5169eeb require void elements to be lowercase – fixes #137
8 years ago
Fabrice Weinberg 1131a44383 Remove superfluous return.
8 years ago
Fabrice Weinberg 75cf9d16ce Make sure parser only allows unique attribute names
8 years ago
Rich Harris f5b78e406c Merge pull request #122 from sveltejs/each-else
8 years ago
Arpad Borsos 9187c2dd09
add parser support for raw mustache tags
8 years ago
Arpad Borsos fec55a1ccd
add each-else support to parser
8 years ago
Fabrice Weinberg 49629c5403 remove superficial yield.js
8 years ago
Fabrice Weinberg 4bcbdfb5ae Parse {{yield}} as YieldTag
8 years ago
Rich-Harris 90fac61d2a use decodeCharacterReferences in text.js, not tag.js
8 years ago
Fabrice Weinberg 4b9832f03a Convert entities of all text nodes
8 years ago
Rich Harris e4a9344bdb Merge pull request #70 from sveltejs/gh-64
8 years ago
Rich Harris db65f01ee3 handle trailing comments in script tags – closes #64
8 years ago
Arpad Borsos 8518065c97
also trim whitespace from elseif/else blocks
8 years ago
Rich-Harris c199407db2 more validation
8 years ago
Rich-Harris 0698525f1b basic validation
8 years ago
Rich-Harris 817d371826 fix readUntil infinite loop bug
8 years ago
Rich-Harris ad79ce6ec5 throw if template is not a string
8 years ago
Rich-Harris 2741eee8bf bind:foo shorthand – closes #20
8 years ago
Rich-Harris b1b47696b1 implement elseif
8 years ago
Rich-Harris c79b38ff6a implement else blocks
8 years ago
Rich-Harris 632a980948 wrap script block in IIFE to prevent pollution
8 years ago
Rich-Harris 370db7d269 scoped css
8 years ago
Rich-Harris 0d4728faf2 fix entities in attributes
8 years ago
Rich-Harris 4ce0f2fd58 handle unquoted attribute values
8 years ago
Rich-Harris 1eb3b7373e test inline expression parse errors
8 years ago
Rich-Harris a82b2e9e05 add parser.error coverage
8 years ago
Rich-Harris 44a2fd31f6 refs
8 years ago
Rich-Harris 263a08f155 first stab at deep two-way binding
8 years ago
Rich-Harris fa60968ae1 basic two-way binding
8 years ago
Rich-Harris f136f951b3 helpers
8 years ago
Rich-Harris c02e849cb5 parse comments
8 years ago
Rich-Harris 7950d0a275 fix attributes with mustache tag as final chunk
8 years ago
Rich-Harris a08cb44377 code frames
8 years ago
Rich-Harris 8c8b6ccfa4 parse each block index
8 years ago
Rich-Harris 4a32e59f2e allow multiple attributes
8 years ago
Rich-Harris cb9b00254b more attribute parsing
8 years ago
Rich-Harris e3e91d45ea parse attributes
8 years ago
Rich-Harris 2f62a5aaca more whitespace stuff
8 years ago
Rich-Harris b59b33bf06 parse event handler directives
8 years ago
Rich-Harris 564ddba4bc parse <script> tags
8 years ago
Rich Harris a44398b0f1 snapshot
8 years ago
Rich Harris c4b1b548cc parse each blocks correctly
8 years ago
Rich Harris e620fbbd69 parse if blocks
8 years ago
Rich-Harris 7f42cc98b3 more parsing
8 years ago
Rich Harris fc7e6e6827 initial commit
8 years ago