Comparing version 1.0.5 to 1.1.0
@@ -35,2 +35,3 @@ 'use strict'; | ||
extension['.svg'] = | ||
extension['.xml'] = | ||
extension['.html'] = styles.html; | ||
@@ -37,0 +38,0 @@ |
{ | ||
"name": "commenting", | ||
"version": "1.0.5", | ||
"version": "1.1.0", | ||
"description": "Wrap content in a comment that is valid for a given file type.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -91,2 +91,10 @@ describe('commenting', function () { | ||
}); | ||
it('maps xml extension to html style', function () { | ||
var comment = commenting(['hello', 'world'], { | ||
extension: '.xml' | ||
}); | ||
assume(comment).equals('<!--\n // hello\n // world\n-->\n'); | ||
}); | ||
}); |
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
7744
100785
162