Comparing version 0.4.0 to 0.4.1
@@ -181,2 +181,6 @@ var shim = require('./shim'); | ||
MagicPen.prototype.prependLinesWith = function (pen) { | ||
if (this.output.length === 0) { | ||
return this; | ||
} | ||
if (typeof pen === 'function') { | ||
@@ -186,3 +190,3 @@ return this.prependLinesWith(this.callOnClone(pen)); | ||
if (pen.output.length === 0 || this.output.length === 0) { | ||
if (pen.output.length === 0) { | ||
return this; | ||
@@ -189,0 +193,0 @@ } |
@@ -387,2 +387,6 @@ /*! | ||
MagicPen.prototype.prependLinesWith = function (pen) { | ||
if (this.output.length === 0) { | ||
return this; | ||
} | ||
if (typeof pen === 'function') { | ||
@@ -392,3 +396,3 @@ return this.prependLinesWith(this.callOnClone(pen)); | ||
if (pen.output.length === 0 || this.output.length === 0) { | ||
if (pen.output.length === 0) { | ||
return this; | ||
@@ -395,0 +399,0 @@ } |
{ | ||
"name": "magicpen", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Styled output in both consoles and browsers", | ||
@@ -5,0 +5,0 @@ "main": "./lib/MagicPen.js", |
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
149485
2191