Port to stricter C99
[emacs.git] / test / indent / js-indent-init-dynamic.js
blob536a976e86e8ed8c6caafd8a28597eb2853bc8df
1 var foo = function() {
2   return 7;
3 };
5 var foo = function() {
6       return 7;
7     },
8     bar = 8;
10 var foo = function() {
11       return 7;
12     },
13     bar = function() {
14       return 8;
15     };
17 // Local Variables:
18 // indent-tabs-mode: nil
19 // js-indent-level: 2
20 // js-indent-first-init: dynamic
21 // End:
23 // The following test intentionally produces a scan error and should
24 // be placed below all other tests to prevent awkward indentation.
25 // (It still thinks it's within the body of a function.)
27 var foo = function() {
28   return 7;
29   ,
30   bar = 8;