Last active
July 10, 2016 16:28
-
-
Save binary1230/cf2cf5bca6842d691931ff9c9b90f867 to your computer and use it in GitHub Desktop.
Revisions
-
binary1230 revised this gist
Jul 10, 2016 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -20,8 +20,8 @@ \{\% (checkbox) (.*)\.(.+) \%\} {{ macros.$1($2, '$3') }} # catch anything like: whatever|tag:"stuff" turn into whatever|tag("stuff"), also works for single quoted \{\{ (.+?(?=|))(.*?):(["'].*?["']) \{\{ $1$2($3) \{% (stripe_form) ([^\s]+) ([^\s]+) \%\} -
binary1230 revised this gist
Jun 24, 2016 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -11,12 +11,19 @@ \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} \{\{ (.+?(?=|))(datetime):(".*?") \}\} {{ $1$2($3) }} \{\{ (.+?(?=|))(yesno):(".*?") \}\} {{ $1$2($3) }} \{\% (checkbox) (.*)\.(.+) \%\} {{ macros.$1($2, '$3') }} # catch anything like: whatever|tag:"stuff" turn into whatever|tag("stuff") \{\{ (.+?(?=|))(.*?):(".*?") \{\{ $1$2($3) \{% (stripe_form) ([^\s]+) ([^\s]+) \%\} {{ $1\('$2',$3\) }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -18,4 +18,7 @@ {{ macros.$1($2, '$3') }} \{% (stripe_form) ([^\s]+) ([^\s]+) \%\} {{ $1\('$2',$3\) }} \{\% (stripe_button) (".*?") \%\} \{\{ macros.$1\($2\) \}\} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -15,4 +15,7 @@ {{ $1$2($3) }} \{\% (checkbox) (.*)\.(.+) \%\} {{ macros.$1($2, '$3') }} \{% (stripe_form) ([^\s]+) ([^\s]+) \%\} {{ $1\('$2',$3\) }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,8 +7,12 @@ \{\% (checkgroup) (.*)\.(.+) \%\} {{ $2.html_$1('$3') }} # can improve this by copying from yesno example \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} \{\{ (.+?(?=|))(yesno):(".*?") }} {{ $1$2($3) }} \{\% (checkbox) (.*)\.(.+) \%\} {{ macros.$1($2, '$3') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ {{ $1\($2,$3\) }} \{\% (popup_link) (".*?") (".*?") \%\} {{ macros.$1\($2,$3\) }} \{\% (checkgroup) (.*)\.(.+) \%\} {{ $2.html_$1('$3') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,9 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }} \{\% (popup_link) (".*?") (".*?") \%\} {{ $1\($2,$3\) }} \{\% (checkgroup) (.*)\.(.+) \%\} {{ $2.html_$1('$3') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 2 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,8 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }} \{\% (checkgroup) (.*)\.(.+) \%\} {{ $2.html_$1('$3') }} \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 5 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,12 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }} # not right \{\% (checkgroup) ([^\s]+) \%\} \{\{ $1\($2\) \}\} \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} \{\% (checkbox) (.*)\.(.+) \%\} {{ macros.$1($2, '$3') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,8 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }} \{\% (checkgroup) ([^\s]+) \%\} \{\{ $1\($2\) \}\} \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} -
binary1230 revised this gist
Jun 23, 2016 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,5 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }} \{\{ (.+?(?=|))default:"" }} {{ $1default('') }} -
binary1230 created this gist
Jun 23, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ \{% (options) ([^\s]+) ([^\s]+) \%\} {{ $1\($2,$3\) }}