vue-hljs-with-line-number
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -69,3 +69,3 @@ // jshint multistr:true | ||
if (lines.length > 1 || options.singleLine) { | ||
if (lines.length >= 1 || options.singleLine) { | ||
var html = ''; | ||
@@ -72,0 +72,0 @@ |
{ | ||
"name": "vue-hljs-with-line-number", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Syntax highlighting with highlight.js for Vue.js 2.x", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/imlinhanchao/vue-hljs-with-line-number", |
@@ -62,2 +62,5 @@ # vue-hljs-with-line-number | ||
## Changelog | ||
v1.0.2 | ||
- Fixed issue that single line has not line number. | ||
v1.0.1 | ||
@@ -64,0 +67,0 @@ - Fixed lost line number when compnoent updated. |
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
19794
71