Commit Graph

43 Commits (e04ae39b519d4bdb67d6b4cc6d4aecc1b96dfa7a)

Author SHA1 Message Date
Rich Harris e04ae39b51 allow components to have computed member expressions for bindings (fixes #624)
9 years ago
Rich Harris ba0cbdb8d0 TS-ify spaces.js and deindent.js, so they get included in prettier task
9 years ago
Rich Harris 3cc89a0a95 add trailing commas to prettier config, only run on .ts files
9 years ago
Rich Harris f92b33c130 run prettier on src, update tests
9 years ago
Rich-Harris 2a9eacdb3e more TS
9 years ago
Rich-Harris 5c75730091 typescriptify validator
9 years ago
Rich-Harris 8a5b11dd74 more typescript conversion
9 years ago
Rich-Harris 65a82a5683 gah, rollup needs the file extensions. which idiot wrote it
9 years ago
Rich-Harris fd8b09eb2e add a few type annotations
9 years ago
Rich-Harris e8027c6d6f remove .ts file extensions
9 years ago
Rich-Harris 3d234f070b rename all (almost) .js files
9 years ago
Rich-Harris b90d5b3903 more simplification
10 years ago
Rich-Harris 00d2f6b8c5 collapse constructor block into builders.main
10 years ago
Rich-Harris 76a05445d2 improve deindent slightly — allow inline false expressions (which get removed), and trim trailing tabs
10 years ago
Rich-Harris 8d9f69c152 first working intro transition, woooo
10 years ago
Rich-Harris 6ff83a4127 rename root to state, and allow state to be used as context
10 years ago
Rich-Harris dc6fa6ff24 collapse text around comments
10 years ago
Rich-Harris b4115ac2ec separate if statements in codebuilder
10 years ago
Rich-Harris 097a7c38c0 allow helpers to depend on one another (closes #481)
10 years ago
Rich Harris 97e0dd62bd validate namespaces
10 years ago
Rich Harris ceea9be45a collapse consecutive if-statements with the same condition (#450)
10 years ago
Rich-Harris 115c493b86 make abstract removeNode function
10 years ago
Rich-Harris 57f1397d68 generate more idiomatic code when removing object properties
10 years ago
Rich-Harris 660e72a773 retain binding sourcemaps to the extent possible
10 years ago
Conduitry f1b608e706 new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
10 years ago
Conduitry c33ee7b56e fix removeObjectKey when removing last key in object and it has a trailing comma
10 years ago
Conduitry 300e7f19c4 removeObjectKey API tweak
10 years ago
Conduitry fd132744ca remove `namespace` key from generated code
10 years ago
Rich Harris 2ac793c561 treat binding values as expressions
10 years ago
Conduitry f3ed8d1b47 accept DOCTYPE element in any case
10 years ago
Matt Steitle 5aef9af439 dontThrowParseErrorOnDoctypeDeclaration: Adding additional specification for doctype tag matching
10 years ago
Rich-Harris 7e5ac84e7f centralise voidElementNames
10 years ago
Rich Harris b4c3100a6e merge master -> gh-185
10 years ago
Rich-Harris 05972f7ac5 null is not an identifier
10 years ago
Rich-Harris d48b72de55 allow whitelisted globals (#185)
10 years ago
Rich-Harris a100c608d7 fix prepending code to builders
10 years ago
Rich-Harris 84bfbcb0c5 use builders for local.init and local.update
10 years ago
Rich-Harris f872e4e2f5 use builders everywhere
10 years ago
Rich-Harris c3eba3ce40 Merge branch 'master' into builder
10 years ago
Rich-Harris f310b3541c add support for declared namespaces – fixes #147
10 years ago
Rich-Harris cce920240a add CodeBuilder utility for easier codegen
10 years ago
Rich-Harris 4f4a967fd6 support node methods in event handlers (#162)
10 years ago
Rich Harris 973cf04e52 move files into src in preparation for SSR integration
10 years ago