Skip to content
Browse files

Added .gitattributes

Added recommended settings for line ending normalization and text/binary
detection.
  • Loading branch information...
1 parent 4895074 commit 5f759757f973b0fbfbd947cf787f5deaf59fa917 @rjgotten rjgotten committed Aug 2, 2012
View
22 .gitattributes
@@ -0,0 +1,22 @@
+# Auto detect text files and perform LF normalization
+* text=auto
+
+# Custom for Visual Studio
+*.cs diff=csharp
+*.sln merge=union
+*.csproj merge=union
+*.vbproj merge=union
+*.fsproj merge=union
+*.dbproj merge=union
+
+# Standard to msysgit
+*.doc diff=astextplain
+*.DOC diff=astextplain
+*.docx diff=astextplain
+*.DOCX diff=astextplain
+*.dot diff=astextplain
+*.DOT diff=astextplain
+*.pdf diff=astextplain
+*.PDF diff=astextplain
+*.rtf diff=astextplain
+*.RTF diff=astextplain
View
42 LICENSE
@@ -1,22 +1,22 @@
-/*
- * Copyright (C) 2011 by Andrew Petersen
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- * THE SOFTWARE.
- *
+/*
+ * Copyright (C) 2011 by Andrew Petersen
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included in
+ * all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+ * THE SOFTWARE.
+ *
*/
View
84 docs/algo.txt
@@ -1,43 +1,43 @@
-this is a little out of date at this point, but was the starting point.
-
-markup mode:
- found @
- is email address?
- keep going
- not email address?
- is followed by @?
- keep going, ignore one @
- is followed by { ?
- consume until matching } as JS
- is followed by keyword?
- switch to JS block mode
- is followed by valid identifier?
- switch to implicit expression mode
-
-JS block mode:
- found @
- is followed by @?
- keep going, ignore one @
- not followed by @?
- switch to markup mode
- found < ?
- is followed by / or [a-zA-Z] ?
- switch to markup mode
- is not followed by [\/a-zA-Z] ?
- keep going
- may need rules for @: here and newlines
-
-JS implicit expression mode:
- read single "word" (identifier)
- A: is the next character a ( or [ ?
- read matching, and go to A
- not A: continue
- is the next character a . ?
- continue
- not .:
- end expression, switch to markup mode
- is the character after . a valid start char for identifier?
- read the ., go to start of implicit mode
- not valid start:
- end expression without including .
+this is a little out of date at this point, but was the starting point.
+
+markup mode:
+ found @
+ is email address?
+ keep going
+ not email address?
+ is followed by @?
+ keep going, ignore one @
+ is followed by { ?
+ consume until matching } as JS
+ is followed by keyword?
+ switch to JS block mode
+ is followed by valid identifier?
+ switch to implicit expression mode
+
+JS block mode:
+ found @
+ is followed by @?
+ keep going, ignore one @
+ not followed by @?
+ switch to markup mode
+ found < ?
+ is followed by / or [a-zA-Z] ?
+ switch to markup mode
+ is not followed by [\/a-zA-Z] ?
+ keep going
+ may need rules for @: here and newlines
+
+JS implicit expression mode:
+ read single "word" (identifier)
+ A: is the next character a ( or [ ?
+ read matching, and go to A
+ not A: continue
+ is the next character a . ?
+ continue
+ not .:
+ end expression, switch to markup mode
+ is the character after . a valid start char for identifier?
+ read the ., go to start of implicit mode
+ not valid start:
+ end expression without including .
switch to markup mode
View
434 test/fixtures/largeTemplate.dot.html
@@ -1,218 +1,218 @@
-<div class="widget">
- <h1>{{= it.title }}</h1>
- <h2>{{= it.subtitle }}</h2>
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
- cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
- proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
- cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
- proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
-
- <ul>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
- <li>{{= it.liData }}</li>
-
- {{ for(var i = 0; i < it.items.length; i++){ }}
- <li> {{= it.items[i].name }}</li>
- {{ } }}
- </ul>
-
+<div class="widget">
+ <h1>{{= it.title }}</h1>
+ <h2>{{= it.subtitle }}</h2>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
+ <ul>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+ <li>{{= it.liData }}</li>
+
+ {{ for(var i = 0; i < it.items.length; i++){ }}
+ <li> {{= it.items[i].name }}</li>
+ {{ } }}
+ </ul>
+
</div>
View
434 test/fixtures/largeTemplate.vash
@@ -1,218 +1,218 @@
-<div class="widget">
- <h1>@title</h1>
- <h2>@subtitle</h2>
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
- cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
- proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
- tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
- quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
- consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
- cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
- proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
-
- <ul>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
- <li>@liData</li>
-
- @for(var i = 0; i < items.length; i++){
- <li>@items[i].name</li>
- }
- </ul>
-
+<div class="widget">
+ <h1>@title</h1>
+ <h2>@subtitle</h2>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+
+ <ul>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+ <li>@liData</li>
+
+ @for(var i = 0; i < items.length; i++){
+ <li>@items[i].name</li>
+ }
+ </ul>
+
</div>
View
24 test/fixtures/mediumTemplate.dot.html
@@ -1,13 +1,13 @@
-<div>
- <h1 class='header'>{{= it.header }}</h1>
- <h2 class='header2'>{{= it.header2 }}</h2>
- <h3 class='header3'>{{= it.header3 }}</h3>
- <h4 class='header4'>{{= it.header4 }}</h4>
- <h5 class='header5'>{{= it.header5 }}</h5>
- <h6 class='header6'>{{= it.header6 }}</h6>
- <ul class='list'>
- {{ for (var i = 0, l = it.list.length; i < l; i++) { }}
- <li class='item'>{{= it.list[i] }}</li>
- {{ } }}
- </ul>
+<div>
+ <h1 class='header'>{{= it.header }}</h1>
+ <h2 class='header2'>{{= it.header2 }}</h2>
+ <h3 class='header3'>{{= it.header3 }}</h3>
+ <h4 class='header4'>{{= it.header4 }}</h4>
+ <h5 class='header5'>{{= it.header5 }}</h5>
+ <h6 class='header6'>{{= it.header6 }}</h6>
+ <ul class='list'>
+ {{ for (var i = 0, l = it.list.length; i < l; i++) { }}
+ <li class='item'>{{= it.list[i] }}</li>
+ {{ } }}
+ </ul>
</div>
View
24 test/fixtures/mediumTemplate.nowith.vash
@@ -1,13 +1,13 @@
-<div>
- <h1 class='header'>@model.header</h1>
- <h2 class='header2'>@model.header2</h2>
- <h3 class='header3'>@model.header3</h3>
- <h4 class='header4'>@model.header4</h4>
- <h5 class='header5'>@model.header5</h5>
- <h6 class='header6'>@model.header6</h6>
- <ul class='list'>
- @for (var i = 0, l = model.list.length; i < l; i++) {
- <li class='item'>@model.list[i]</li>
- }
- </ul>
+<div>
+ <h1 class='header'>@model.header</h1>
+ <h2 class='header2'>@model.header2</h2>
+ <h3 class='header3'>@model.header3</h3>
+ <h4 class='header4'>@model.header4</h4>
+ <h5 class='header5'>@model.header5</h5>
+ <h6 class='header6'>@model.header6</h6>
+ <ul class='list'>
+ @for (var i = 0, l = model.list.length; i < l; i++) {
+ <li class='item'>@model.list[i]</li>
+ }
+ </ul>
</div>
View
24 test/fixtures/mediumTemplate.vash
@@ -1,13 +1,13 @@
-<div>
- <h1 class='header'>@header</h1>
- <h2 class='header2'>@header2</h2>
- <h3 class='header3'>@header3</h3>
- <h4 class='header4'>@header4</h4>
- <h5 class='header5'>@header5</h5>
- <h6 class='header6'>@header6</h6>
- <ul class='list'>
- @for (var i = 0, l = list.length; i < l; i++) {
- <li class='item'>@list[i]</li>
- }
- </ul>
+<div>
+ <h1 class='header'>@header</h1>
+ <h2 class='header2'>@header2</h2>
+ <h3 class='header3'>@header3</h3>
+ <h4 class='header4'>@header4</h4>
+ <h5 class='header5'>@header5</h5>
+ <h6 class='header6'>@header6</h6>
+ <ul class='list'>
+ @for (var i = 0, l = list.length; i < l; i++) {
+ <li class='item'>@list[i]</li>
+ }
+ </ul>
</div>
View
6 test/fixtures/smallTemplate.dot.html
@@ -1,4 +1,4 @@
-<div class="widget">
- <p>{{= it.somevar }}</p>
- <p>{{= it.anothervar }}</p>
+<div class="widget">
+ <p>{{= it.somevar }}</p>
+ <p>{{= it.anothervar }}</p>
</div>
View
6 test/fixtures/smallTemplate.vash
@@ -1,4 +1,4 @@
-<div class="widget">
- <p>@somevar</p>
- <p>@anothervar</p>
+<div class="widget">
+ <p>@somevar</p>
+ <p>@anothervar</p>
</div>

0 comments on commit 5f75975

Please sign in to comment.
Something went wrong with that request. Please try again.