Javascript: Autoformat.

This commit is contained in:
Anders Schack-Mulligen
2019-01-11 11:02:42 +01:00
parent 28261d6787
commit e58094c732
472 changed files with 1723 additions and 1834 deletions

View File

@@ -1,5 +1,7 @@
import javascript
from HTML::TextNode t, string cdata
where t.toString().trim().length() > 0 and if t.isCData() then cdata = "(cdata)" else cdata = ""
where
t.toString().trim().length() > 0 and
if t.isCData() then cdata = "(cdata)" else cdata = ""
select t, t.getParent(), t.getIndex(), cdata