Title: [164582] trunk/Tools
- Revision
- 164582
- Author
- [email protected]
- Date
- 2014-02-24 04:19:19 -0800 (Mon, 24 Feb 2014)
Log Message
Unreviewed. Fix code indentation and spacing.
Patch by Diego Pino Garcia <[email protected]> on 2014-02-24
* Scripts/webkitpy/style/checkers/js.py:
(SingleQuoteChecker.check):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (164581 => 164582)
--- trunk/Tools/ChangeLog 2014-02-24 11:24:34 UTC (rev 164581)
+++ trunk/Tools/ChangeLog 2014-02-24 12:19:19 UTC (rev 164582)
@@ -1,3 +1,10 @@
+2014-02-24 Diego Pino Garcia <[email protected]>
+
+ Unreviewed. Fix code indentation and spacing.
+
+ * Scripts/webkitpy/style/checkers/js.py:
+ (SingleQuoteChecker.check):
+
2014-02-24 Krzysztof Czech <[email protected]>
[ATK] Wrong selected element at a given index in a list box.
Modified: trunk/Tools/Scripts/webkitpy/style/checkers/js.py (164581 => 164582)
--- trunk/Tools/Scripts/webkitpy/style/checkers/js.py 2014-02-24 11:24:34 UTC (rev 164581)
+++ trunk/Tools/Scripts/webkitpy/style/checkers/js.py 2014-02-24 12:19:19 UTC (rev 164582)
@@ -71,13 +71,13 @@
in_multiline_comment = True
continue
- # Remove "double quoted" strings.
+ # Remove "double quoted" strings.
line = re.sub(r'"(?:[^"\\]|\\.)*"', '""', line)
# Remove single line comment if any.
single_line_comment_pos = line.find('//')
if (single_line_comment_pos != -1):
- line = line[:single_line_comment_pos]
+ line = line[:single_line_comment_pos]
# The whole line was a single line comment, so continue.
if (len(line) == 0):
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes