diff options
| author | John Wiegley <johnw@newartisans.com> | 2015-12-29 21:40:28 -0800 |
|---|---|---|
| committer | John Wiegley <johnw@newartisans.com> | 2015-12-29 21:40:28 -0800 |
| commit | 9f2f14a0725211b13a744573344636b57b9c98b9 (patch) | |
| tree | 7190e0fb3d4aa06018d8cf997f06b806fb09a9c8 /test/manual/indent/js.js | |
| parent | d259328fb87db8cc67d52771efcfa653e52c5b71 (diff) | |
| parent | e823c34072bf045800d91e12c7ddb61fa23c6e30 (diff) | |
| download | emacs-9f2f14a0725211b13a744573344636b57b9c98b9.tar.gz | |
Merge emacs-25 into master (using imerge)
Diffstat (limited to 'test/manual/indent/js.js')
| -rw-r--r-- | test/manual/indent/js.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/manual/indent/js.js b/test/manual/indent/js.js index d897b9f81e7..9a1e0dc7ad5 100644 --- a/test/manual/indent/js.js +++ b/test/manual/indent/js.js @@ -76,6 +76,20 @@ class A { } } +if (true) + 1 +else + 2 + +Foobar + .find() + .catch((err) => { + return 2; + }) + .then((num) => { + console.log(num); + }); + // Local Variables: // indent-tabs-mode: nil // js-indent-level: 2 |
