File: 1037.html

package info (click to toggle)
web-mode 17.3.20-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,164 kB
  • sloc: lisp: 13,359; javascript: 506; jsp: 113; sh: 10; php: 9; makefile: 8; xml: 2
file content (19 lines) | stat: -rw-r--r-- 534 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<html>
  <head>
	<script>
	    function somefunc(input) {
		  var foo = "bar";
		  // behold indentation on next line:
		  var badly_indented_statement;
		  // as far as I can tell this happens under the following conditions
		  // * vanilla emacs config
		  // * clean install of web-mode from melpa
		  // * set web-mode-script-padding to 4
		  // * open script tag
		  // * create function
		  // * have at least one normal line of code
		  // * have a comment line that ends with a semicolon
	    }
	</script>
    </head>
</html>