W3C home > Mailing lists > Public > www-validator-cvs@w3.org > October 2009

validator/share/templates/en_US json_output.tmpl,1.4,1.5

From: Ville Skytta via cvs-syncmail <cvsmail@w3.org>
Date: Sun, 04 Oct 2009 20:28:30 +0000
To: www-validator-cvs@w3.org
Message-Id: <E1MuXh0-000646-O0@lionel-hutz.w3.org>
Update of /sources/public/validator/share/templates/en_US
In directory hutz:/tmp/cvs-serv23300

Modified Files:
	json_output.tmpl 
Log Message:
Encode last line as a number per http://wiki.whatwg.org/wiki/Validator.nu_JSON_Output

Index: json_output.tmpl
===================================================================
RCS file: /sources/public/validator/share/templates/en_US/json_output.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- json_output.tmpl	4 Oct 2009 20:26:55 -0000	1.4
+++ json_output.tmpl	4 Oct 2009 20:28:28 -0000	1.5
@@ -12,7 +12,7 @@
           {
               "type": <TMPL_IF NAME="err_type_err">"error"<TMPL_ELSE>"info"<TMPL_IF NAME="err_type_warn">,
               "subtype": "warning"</TMPL_IF></TMPL_IF>,
-              "lastLine": "<TMPL_VAR NAME="line">",
+              "lastLine": <TMPL_VAR NAME="line">,
               "lastColumn": <TMPL_VAR NAME="char">,
               "message": <TMPL_VAR NAME="msg">,
               "messageid": <TMPL_VAR NAME="num">,
Received on Sunday, 4 October 2009 20:28:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:17:39 UTC