Skip to content

Commit

Permalink
Fixed EOL on comments
Browse files Browse the repository at this point in the history
  • Loading branch information
fadado committed Mar 30, 2017
1 parent acea722 commit 07fd553
Show file tree
Hide file tree
Showing 25 changed files with 45 additions and 45 deletions.
8 changes: 4 additions & 4 deletions share/analytics.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Usage: <%partial analytics UA-82432866-1>
#
# $1: analytics UA
#>
#>&
<script type="text/javascript">/*<![CDATA[*/
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
Expand All @@ -25,7 +25,7 @@
s.parentNode.insertBefore(ga, s);
})();
</script>
#>
#>&
<# LAST VERSION
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand All @@ -37,7 +37,7 @@
ga('send', 'pageview');

</script>
#>
#>&
<#
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=html
#>
#>&
16 changes: 8 additions & 8 deletions share/libjqt.m
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
# JQT macros
#
# Included in template and document expansion
#>
<# Quote character, only for this file #>
#>&
<# Quote character, only for this file #>&
<%mode quote "\\">&
<#
# Usage: <%partial name arg...>
#
# Like include but passing (up to 8) parameters to the included file.
# Assume 'm' filename extension.
#>
#>&
<%define partial
<%defeval _partial
<\%defeval _partial
Expand All @@ -24,7 +24,7 @@
# Define name as a macro with contents of name.m as a body.
# Assume 'm' filename extension.
# Equivalent to: <%defeval name <%include name.m>>
#>
#>&
<%define shortcode
<%defeval _shortcode
<\%defeval $1
Expand All @@ -36,15 +36,15 @@
# Usage: <%scan text>
#
# Evaluate text with macro calls.
#>
#>&
<%define scan
<%defeval _scan $1><%_scan><%undef _scan>
>&
<#
# Usage: <%call name arg...>
#
# Call a macro by name.
#>
#>&
<%define call
<%defeval _call
<\%$1 "$2" "$3" "$4" "$5" "$6" "$7" "$8" "$9">
Expand All @@ -54,12 +54,12 @@
# Usage: <%append name text>
#
# Equivalent to: <%defeval name <%name>text.>
#>
#>&
<%define append
<%defeval _append
<\%defeval $1 <%call $1>$2>
><%_append><%undef _append>
>&
<#
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=perl
#>
#>&
4 changes: 2 additions & 2 deletions share/slideshare.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# $1: ID
# $2: width
# $3: height
#>
#>&
<iframe src="//www.slideshare.net/slideshow/embed_code/key/$1"
width="$2"
height="$3"
Expand All @@ -14,4 +14,4 @@
scrolling="no"></iframe>
<#
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=html
#>
#>&
4 changes: 2 additions & 2 deletions share/vimeo.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# $1: ID
# $2: width
# $3: height
#>
#>&
<iframe src="http://player.vimeo.com/video/$1"
width="$2"
height="$3"
frameborder="0"></iframe>
<#
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=html
#>
#>&
4 changes: 2 additions & 2 deletions share/youtube.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
# $1: ID
# $2: width
# $3: height
#>
#>&
<iframe src="https://www.youtube.com/embed/$1"
width="$2"
height="$3"
frameborder="0"></iframe>
<#
vim:ts=4:sw=4:ai:et:fileencoding=utf8:syntax=html
#>
#>&
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-00.jqt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<# empty document #>
<# empty document #>&
6 changes: 3 additions & 3 deletions tests/expand/mpjqt-04.jqt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<# multiline #>
<# multiline #>&
&
<# empty #>
<# empty #>&
&
<# document #>
<# document #>&
&
4 changes: 2 additions & 2 deletions tests/expand/mpjqt-06.jqt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# examples from GPM paper #>
<# examples from GPM paper #>&
<%define A A$1A>&
<%define B B<%A X$1X>B>&
<%define APA P$1$1P>&
Expand Down Expand Up @@ -33,4 +33,4 @@ Q[[<%A C>]]R
BAX<%A X>XAB
Q<%R>
Q[<%A C>]R
#>
#>&
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-08.jqt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# recursion #>
<# recursion #>&
<%define countdown
<%if $1>&
$1...
Expand Down
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-09.jqt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<# partial user macro #>
<# partial user macro #>&
<%defeval youtube <%include youtube.m>>&
<%youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-10.jqt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<# partial user macro #>
<# partial user macro #>&
<%shortcode youtube>&
<%youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-11.jqt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<# partial user macro #>
<# partial user macro #>&
<%partial youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpjqt-12.jqt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# skip section: XML comment #>
<# skip section: XML comment #>&
<%define MACRO Lorem Ipsum>&
<%MACRO>
<!-- <%MACRO> -->
2 changes: 1 addition & 1 deletion tests/expand/mpmd-01.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<# empty document #>
<# empty document #>&
6 changes: 3 additions & 3 deletions tests/expand/mpmd-05.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<# multiline #>
<# multiline #>&
&
<# empty #>
<# empty #>&
&
<# document #>
<# document #>&
&
2 changes: 1 addition & 1 deletion tests/expand/mpmd-06.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# predefined user macro #>
<# predefined user macro #>&
<%define sc <span style="font-variant:small-caps;">$1</span>>&
<%sc Title>
<%sc 'Long Title'>
Expand Down
4 changes: 2 additions & 2 deletions tests/expand/mpmd-07.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# examples from GPM paper #>
<# examples from GPM paper #>&
<%define A A$1A>&
<%define B B<%A X$1X>B>&
<%define APA P$1$1P>&
Expand Down Expand Up @@ -33,4 +33,4 @@ Q[[<%A C>]]R
BAX<%A X>XAB
Q<%R>
Q[<%A C>]R
#>
#>&
2 changes: 1 addition & 1 deletion tests/expand/mpmd-09.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# recursion #>
<# recursion #>&
<%define countdown
<%if $1>&
$1...
Expand Down
2 changes: 1 addition & 1 deletion tests/expand/mpmd-10.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<# partial user macro #>
<# partial user macro #>&
<%defeval youtube <%include youtube.m>>&
<%youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpmd-11.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<# partial user macro #>
<# partial user macro #>&
<%shortcode youtube>&
<%youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpmd-12.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<# partial user macro #>
<# partial user macro #>&
<%partial youtube 7zIoLvbCCm8 420 315>
2 changes: 1 addition & 1 deletion tests/expand/mpmd-13.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# skip section: XML comment #>
<# skip section: XML comment #>&
<%define MACRO Lorem Ipsum>&
<%MACRO>
<!-- <%MACRO> -->
2 changes: 1 addition & 1 deletion tests/expand/mpmd-14.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# skip section: code section #>
<# skip section: code section #>&
<%define MACRO Lorem Ipsum>&
<%MACRO>
```
Expand Down
2 changes: 1 addition & 1 deletion tests/expand/mpmd-15.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<# skip section: code #>
<# skip section: code #>&
<%define MACRO Lorem Ipsum>&
<%MACRO>
~~~
Expand Down
4 changes: 2 additions & 2 deletions tests/jqt/macros-00.jqt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<# define required partials #>
<# define required partials #>&
<%shortcode youtube>&
<%shortcode analytics>&
<# expand partials #>
<# expand partials #>&
<%youtube 7zIoLvbCCm8 420 315>
<%analytics UA-8673551-2>

0 comments on commit 07fd553

Please sign in to comment.