This repository was archived by the owner on Apr 3, 2019. It is now read-only.
Commit 7331d17
fix(client): cookies_disabled.js's constructor is a function. (#4528) r=vladikoff
It was impossible to run unit tests w/ `babel.enabled: false` because
the browser would see the `constructor` function in cookies_disabled.js
and think that was an ES2015 `constructor`. Babel converts the
constructor to a function and allows the unit tests to run. Instead of
depending on Babel, make the `constructor` a function and allow the unit
tests to run w/o babel.1 parent 67edb5c commit 7331d17
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments