]> code.delx.au - gnu-emacs/commitdiff
Fix test/indent/js.js
authorDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Mar 2015 18:30:23 +0000 (20:30 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sun, 8 Mar 2015 18:30:23 +0000 (20:30 +0200)
* test/indent/js.js: Set `js-indent-level' to 2. Fix indentation in an
example.

test/ChangeLog
test/indent/js.js

index a9c20f6fbfae7920f9e24323fa22e6dc7437d5bc..92ce4b62a0b1a09d658442bf1810add89cccc262 100644 (file)
@@ -1,3 +1,8 @@
+2015-03-08  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * indent/js.js: Set `js-indent-level' to 2. Fix indentation in an
+       example.
+
 2015-03-04  Michael Albinus  <michael.albinus@gmx.de>
 
        * automated/tramp-tests.el (top): Declare `tramp-get-remote-stat'
index d330fa06d5bc749dd4288af53ae6cd0ffbfd0aaf..f41849da2841d5ff539d3e62def3a0673818bfa4 100644 (file)
@@ -1,3 +1,5 @@
+// -*- js-indent-level: 2 -*-
+
 var a = 1;
 b = 2;
 
@@ -9,7 +11,7 @@ var e = 100500,
 
 function test ()
 {
-     return /[/]/.test ('/')     // (bug#19397)
+  return /[/]/.test ('/')     // (bug#19397)
 }
 
 var f = bar('/protocols/')