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