Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "razorleaf", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"main": "razorleaf.js", | ||
@@ -5,0 +5,0 @@ "files": [ |
@@ -117,2 +117,6 @@ "use strict"; | ||
if(c === "#") { | ||
return states.comment; | ||
} | ||
if(c === "\"") { | ||
@@ -158,4 +162,13 @@ this.context = { | ||
}, | ||
comment: function(c) { | ||
if(c === "\n") { | ||
this.indent = 0; | ||
return states.indent; | ||
} | ||
return states.comment; | ||
}, | ||
indent: function(c) { | ||
if(c === "\n") { | ||
this.indent = 0; | ||
return states.indent; | ||
@@ -162,0 +175,0 @@ } |
@@ -117,2 +117,7 @@ [![Build Status](https://travis-ci.org/campersander/razorleaf.png)](https://travis-ci.org/campersander/razorleaf) | ||
### Comments | ||
Comments begin with `#` and continue to the end of the line. They do not affect | ||
the rendered HTML. | ||
### Special blocks | ||
@@ -119,0 +124,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28427
908
159