Rich-Harris
405bc00a56
more tidying up
10 years ago
Rich-Harris
7c1d2bb8e6
remove unused code
10 years ago
Rich-Harris
9c22bc12c6
only insert export initialisers if there are any
10 years ago
Rich-Harris
9435773b1c
start moving render logic into modules
10 years ago
Rich-Harris
dbbfc67a0b
expand shorthand properties ( #61 )
10 years ago
Rich-Harris
a3c383429e
dont rewrite class method keys incorrectly ( #42 )
10 years ago
Rich-Harris
0c86c2275d
fix typo (again...)
10 years ago
Rich Harris
5fad4eba18
check for computed property before abandoning checkForReads ( #47 )
10 years ago
Oskar Segersvärd
49d6b295fa
Forward `strong` parameter from `checkForWrites` to `checkForReads`.
10 years ago
Oskar Segersvärd
af660dd5ef
I think it should be `this.isIncluded`.
10 years ago
Oskar Segersvärd
7c9bba40e6
Added a call to checkForReads in computed member expressions. Tests pass.
10 years ago
Oskar Segersvärd
0e2e705afa
Implemented export * from ...
10 years ago
Rich Harris
e17076250c
mark statements rather than expanding them
10 years ago
Rich Harris
94c3852929
ignore IIFEs for the purposes of determining strong/weak dependencies
10 years ago
Rich-Harris
063fc41832
use module.id instead of module.path
10 years ago
Rich Harris
b7e51064ac
borrow sorting logic from esperanto - fixes #36
10 years ago
Rich Harris
aacbce8759
prevent some unnecessary work
10 years ago
Rich Harris
67d9b5847e
prevent class method definitions erroneously appearing in statement.dependsOn
10 years ago
Rich Harris
b49b35fbb0
mark strong dependencies
10 years ago
Rich Harris
5a548049bf
remove unused check
10 years ago
Rich-Harris
b8894dd901
rename things internally (path -> id, etc) - #30
10 years ago
Rich-Harris
b0eca67402
rename functions with args by the same name ( fixes #32 )
10 years ago
Rich Harris
f2628b5ca0
linting
10 years ago
Rich Harris
69509da0ad
`this` at the top level is undefined ( fixes #28 )
10 years ago
Rich-Harris
01444c971e
passing foo to a function cannot rebind foo
10 years ago
Rich-Harris
402cdc3360
distinguish between binding/property assignments for `export default foo` special case
10 years ago
Rich-Harris
15d771b45e
minor tidy up and clarification
10 years ago
Rich-Harris
c0a764029f
default exports are not bound. fixes #15
10 years ago
Rich-Harris
f60120bbc6
better (if slightly in need of refactoring) comment handling
10 years ago
Rich-Harris
d46d67f1c7
method call is assumed to mutate method owner ( #13 )
10 years ago
Rich-Harris
4b26a86d1d
rewrite exported vars, to keep exports live
10 years ago
Rich-Harris
315510f767
use Object.create(null) to avoid conflicts with Object.prototype. fixes #12
10 years ago
Mike Bostock
d9be5d6286
Fix for malformed output.
Without this change, you can get malformed stuff like this:
var foo = function() {
return "foo";
}var bar = function() {
return "bar";
}
By introducing a newline, a semicolon is implicitly inserted between statements
when necessary:
var foo = function() {
return "foo";
}
var bar = function() {
return "bar";
}
The indentation as a result of this commit is off, but I’m not sure how to fix
it because the build fails for me. (I tested this by editing dist directly.)
10 years ago
Rich-Harris
f873e70ff5
oh man, never run git reset HEAD while you have unmerged paths. chaos
10 years ago
Rich Harris
5972bf8346
assignments to properties of bindings is permitted
10 years ago
Rich Harris
da193c40cd
rewrite computed property identifiers
10 years ago
Rich Harris
259e00cf40
external module deshadowing
10 years ago
Rich Harris
055d70af0e
move expand logic into Statement
10 years ago
Rich Harris
0477169c99
move replaceIdentifiers into Statement class
10 years ago
Rich Harris
708272b935
push analyse logic into Statement class
10 years ago
Rich Harris
1b36c09e50
remove _private props from Statement
10 years ago
Rich Harris
e9b69cb21e
remove node properties from statement
10 years ago
Rich Harris
81bd618665
start moving statement logic into dedicated Statement class
10 years ago