magicpen-media
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -91,7 +91,7 @@ /*global URL, Blob, btoa*/ | ||
} | ||
this.text((matchDataUrl ? matchDataUrl[1] || 'text/plain' : media) + ' (' + (contentType || 'media') + ')'); | ||
} else { | ||
// Uint8Array or Buffer | ||
text = media.constructor.name + '(' + media.length + ')'; | ||
this.text(media.constructor.name + '[' + media.length + '] (' + (contentType || 'media') + ')'); | ||
} | ||
this.text((contentType || 'media') + ':' + text); | ||
} | ||
@@ -98,0 +98,0 @@ }); |
{ | ||
"name": "magicpen-media", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Add media support to magicpen (images, audio, video)", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
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
471255