acoustic-line
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -28,3 +28,3 @@ doctypes = | ||
decamelcaseify = (name) -> | ||
name.replace /[A-Z]/g, ($,$1) -> "-#{$1.toLowerCase()}" | ||
name.replace /([A-Z])/g, ($,$1) -> "-#{$1.toLowerCase()}" | ||
@@ -31,0 +31,0 @@ AcousticLine |
@@ -35,3 +35,3 @@ // Generated by CoffeeScript 1.10.0 | ||
decamelcaseify = function(name) { | ||
return name.replace(/[A-Z]/g, function($, $1) { | ||
return name.replace(/([A-Z])/g, function($, $1) { | ||
return "-" + ($1.toLowerCase()); | ||
@@ -38,0 +38,0 @@ }); |
{ | ||
"name": "acoustic-line", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "CoffeeScript templating for FreeSwitch XML", | ||
@@ -22,6 +22,6 @@ "main": "index.js", | ||
"devDependencies": { | ||
"chai": "^3.4.0", | ||
"chai": "^3.5.0", | ||
"coffee-script": "^1.10.0", | ||
"mocha": "^2.3.3" | ||
"mocha": "^2.4.5" | ||
} | ||
} |
@@ -18,2 +18,4 @@ {expect} = require 'chai' | ||
.to.equal '<foo ok="true" version="1.9.2">\n<param name="silly" value="dog"/>\n</foo>\n' | ||
expect render -> tag 'foo', ok:true, minimalVersion:'1.9.2' | ||
.to.equal '<foo ok="true" minimal-version="1.9.2">\n</foo>\n' | ||
@@ -20,0 +22,0 @@ it 'simple document', -> |
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
28307