live-guide
Advanced tools
Comparing version 0.13.0 to 0.13.1
@@ -20,3 +20,4 @@ 'use strict'; | ||
.replace(/^([\W\w]+)\*\//, '$1') | ||
.replace(/^\/\//, ''); | ||
.replace(/^\/\//, '') | ||
.replace(/^ /, ''); | ||
}); | ||
@@ -30,6 +31,2 @@ | ||
const cleanComments = function(str) { | ||
return str.split(/\n/).map((l) => l.trim()).join('\n'); | ||
} | ||
module.exports = function(sgArray) { | ||
@@ -42,4 +39,3 @@ console.log('Extracting comments...'); | ||
obj.rawComments = extractComments(_str); | ||
obj.filteredComments = cleanComments(obj.rawComments); | ||
obj.rawComments = obj.filteredComments = extractComments(_str); | ||
}); | ||
@@ -46,0 +42,0 @@ |
{ | ||
"name": "live-guide", | ||
"version": "0.13.0", | ||
"version": "0.13.1", | ||
"description": "Generate style guides based on commented style sheets.", | ||
@@ -5,0 +5,0 @@ "author": { |
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
46674
1228