1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-01 09:24:20 -04:00
Commit graph

14 commits

Author SHA1 Message Date
Nayeem Rahman
e55e4a2838 Remove some non-standard web API constructors (#2970)
This removes the EventListener, EventInit and CustomEventInit constructors from the userland globals. The type exports stay.

I removed the internal classes as well. EventListener's implementation seemed to be doing some bookkeeping on handled events but that's not being used anywhere so I assume it's old debug stuff. The other two are completely redundant.
2019-09-17 12:17:12 -04:00
Nayeem Rahman
a1976236d9 Default 'this' to window in EventTarget (#2918) 2019-09-11 12:53:01 -04:00
Ryan Dahl
d43b43ca78
Refactor snapshot build (#2825)
Instead of using core/snapshot_creator.rs, instead two crates are
introduced which allow building the snapshot during build.rs.

Rollup is removed and replaced with our own bundler. This removes
the Node build dependency. Modules in //js now use Deno-style imports
with file extensions, rather than Node style extensionless imports.

This improves incremental build time when changes are made to //js files
by about 40 seconds.
2019-09-02 17:07:11 -04:00
Yoshiya Hinosawa
9c45499864 Support window.onload (#2643) 2019-07-16 00:19:26 -04:00
迷渡
6a5177dc11 event isTrusted is enumerable (#2543) 2019-06-20 05:21:43 -07:00
Adam Conrad
9fd4096235 add EventTarget implementation (#2377) 2019-05-27 09:20:34 -04:00
Ryan Dahl
9dfebbc949
Fix eslint warnings (#2151)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: LE GOFF Vincent <g_n_s@hotmail.fr>
2019-04-21 16:40:10 -04:00
迷渡
d0cd7a39a2 avoid prototype builtin hasOwnProperty (#2144) 2019-04-18 21:56:33 -04:00
迷渡
bb617d2478 fix toString for some web objects (#2040) 2019-04-03 08:41:05 -04:00
迷渡
ad3cbc50fb check EventTarget params (#2018) 2019-03-30 13:40:03 -04:00
迷渡
51c6f33f64 Avoid search prototype chain (#2019) 2019-03-30 08:18:19 -04:00
Kitson Kelly
034e2cc028 Migrate from tslint to eslint for linting (#1905) 2019-03-09 12:30:38 -05:00
Yoshiya Hinosawa
77114fbda4 chore: update license lines (#1557) 2019-01-21 13:03:30 -06:00
Adam Conrad
f44322128b Add Event web API (#1059) 2019-01-05 10:02:44 -05:00