Commit Graph

146 Commits (ca8c856ed6fd7a3d7cd0f911b5af0f234dceca4f)

Author SHA1 Message Date
Rich Harris 334772a11d use #foo instead of block.alias("foo")
8 years ago
Rich Harris 135f626395 include ast in svelte.compile return value (#632)
8 years ago
Rich Harris 596ab3a7fe remove TODO, is now taken care of
8 years ago
Rich Harris e0917fd874 allow components to have computed member expressions for bindings (fixes #624)
8 years ago
Rich Harris 4b1f1e8392 TS-ify spaces.js and deindent.js, so they get included in prettier task
8 years ago
Rich Harris b0a1616e31 add trailing commas to prettier config, only run on .ts files
8 years ago
Rich Harris 84595fb381 run prettier on src, update tests
8 years ago
Rich-Harris 4d5107113e more TS
9 years ago
Rich-Harris 48384b846c typescriptify validator
9 years ago
Rich-Harris 7c3fca57cf more typescript conversion
9 years ago
Rich-Harris 8d07a5f9bd gah, rollup needs the file extensions. which idiot wrote it
9 years ago
Rich-Harris e85bec00a2 add a few type annotations
9 years ago
Rich-Harris 13b87acfb9 remove .ts file extensions
9 years ago
Rich-Harris 1c5e6e7430 rename all (almost) .js files
9 years ago
Rich-Harris 0d67026904 more simplification
9 years ago
Rich-Harris a5f7fe79ea collapse constructor block into builders.main
9 years ago
Rich-Harris 65064cb70c improve deindent slightly — allow inline false expressions (which get removed), and trim trailing tabs
9 years ago
Rich-Harris 8ccad1f107 first working intro transition, woooo
9 years ago
Rich-Harris e345287a76 rename root to state, and allow state to be used as context
9 years ago
Rich-Harris 9f2bd988a0 collapse text around comments
9 years ago
Rich-Harris a59e017fad separate if statements in codebuilder
9 years ago
Rich-Harris 51ff9ecfa6 allow helpers to depend on one another (closes #481)
9 years ago
Rich Harris 3595470305 validate namespaces
9 years ago
Rich Harris 2852b96e65 collapse consecutive if-statements with the same condition (#450)
9 years ago
Rich-Harris caec96f9da make abstract removeNode function
9 years ago
Rich-Harris 91bf849cc7 generate more idiomatic code when removing object properties
9 years ago
Rich-Harris cf626ff880 retain binding sourcemaps to the extent possible
9 years ago
Conduitry 6d1623cf0e new aliaser mechanism replacing existing mechanism and counters; a bunch more deconflicting
9 years ago
Conduitry e3055d765e fix removeObjectKey when removing last key in object and it has a trailing comma
9 years ago
Conduitry 8e5c7ed21e removeObjectKey API tweak
9 years ago
Conduitry 77321f8356 remove `namespace` key from generated code
9 years ago
Rich Harris 5866a99b9a treat binding values as expressions
9 years ago
Conduitry 52b3a43e7b accept DOCTYPE element in any case
9 years ago
Matt Steitle 522f293766 dontThrowParseErrorOnDoctypeDeclaration: Adding additional specification for doctype tag matching
9 years ago
Rich-Harris e45b15c3da centralise voidElementNames
9 years ago
Rich Harris 6444e8da29 merge master -> gh-185
9 years ago
Rich-Harris 1cfbfb05d0 null is not an identifier
9 years ago
Rich-Harris c353aa2447 allow whitelisted globals (#185)
9 years ago
Rich-Harris a9c4b92493 fix prepending code to builders
9 years ago
Rich-Harris 3e57814b76 use builders for local.init and local.update
9 years ago
Rich-Harris 5fa2cd24c4 use builders everywhere
9 years ago
Rich-Harris 0551d2646a Merge branch 'master' into builder
9 years ago
Rich-Harris fbe130835d add support for declared namespaces – fixes #147
9 years ago
Rich-Harris a1225d5adf add CodeBuilder utility for easier codegen
9 years ago
Rich-Harris 65a99c9161 support node methods in event handlers (#162)
9 years ago
Rich Harris 7684afb2f8 move files into src in preparation for SSR integration
9 years ago