live-guide
Advanced tools
Comparing version 0.6.1 to 0.6.2
'use strict'; | ||
const extractComments = function(str) { | ||
const commentRegex = /(?:\/\*\*([^])+?)\*\/|(?:\/\/(.*))/g; | ||
const commentRegex = /(?:\/\*\*([^])+?)\*\/|(?:\/\/([^\n\r])*)/g; | ||
let matches = str.match(commentRegex); | ||
@@ -21,5 +21,5 @@ | ||
.replace(/^\/\//, '').trim(); | ||
}); | ||
}); | ||
return _tempMatch.join('\n'); | ||
return _tempMatch.join('\n'); | ||
}); | ||
@@ -26,0 +26,0 @@ |
{ | ||
"name": "live-guide", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"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
30464