🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

view-binary-element

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

view-binary-element - npm Package Compare versions

Comparing version
0.0.3
to
0.0.4
+1
-1
bower.json
{
"name": "view-binary-element",
"version": "0.0.3",
"version": "0.0.4",
"description": "Native Web Component for previewing a few common types of binary files",

@@ -5,0 +5,0 @@ "main": [

# Change Log
## [0.0.4](https://github.com/grtjn/view-binary-element/tree/0.0.4) (2020-03-16)
[Full Changelog](https://github.com/grtjn/view-binary-element/compare/0.0.3...0.0.4)
**Fixed bugs:**
- Robustness issue with quick remount of component [\#15](https://github.com/grtjn/view-binary-element/issues/15)
## [0.0.3](https://github.com/grtjn/view-binary-element/tree/0.0.3) (2020-02-10)

@@ -4,0 +11,0 @@ [Full Changelog](https://github.com/grtjn/view-binary-element/compare/0.0.2...0.0.3)

{
"name": "view-binary-element",
"version": "0.0.3",
"version": "0.0.4",
"description": "Native Web Component for previewing a few common types of binary files",

@@ -5,0 +5,0 @@ "dependencies": {},

@@ -290,3 +290,4 @@ <template id="view-binary-template">

if (this.shadowRoot) {
if (this.src !== undefined && this.type !== undefined) {
if (this.src !== undefined && this.type !== undefined
&& this.src !== null && this.type !== null) {
this.$loading.hidden = true;

@@ -302,3 +303,5 @@ this.$viewer.hidden = false;

var slot = this.shadowRoot.querySelector("#fallback");
slot.parentNode.removeChild(slot);
if (slot) {
slot.parentNode.removeChild(slot);
}

@@ -305,0 +308,0 @@ if (this.type.match(/^audio\//)) {