demoup-react
Advanced tools
Comparing version 0.1.7 to 0.1.8
@@ -16,7 +16,12 @@ "use strict"; | ||
var t = this; | ||
scriptLoader(config.stage2Path(scope), function() { | ||
if (window.DemoUpPlaybuttonRenderer) { | ||
window.DemoUpPlaybuttonRenderer(t.$container, t.props); | ||
} | ||
}); | ||
if (window.DemoUpPlaybuttonRenderer) { | ||
window.DemoUpPlaybuttonRenderer(t.$container, t.props); | ||
} | ||
else { | ||
scriptLoader(config.stage2Path(scope), function() { | ||
window.DemoUpPlaybuttonRenderer && window.DemoUpPlaybuttonRenderer(t.$container, t.props); | ||
}); | ||
} | ||
}, | ||
@@ -23,0 +28,0 @@ |
{ | ||
"name": "demoup-react", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "React components for integrating the demoup video player solution in react based websites", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -16,7 +16,10 @@ "use strict"; | ||
var t = this; | ||
scriptLoader(config.playerRenderer(scope), function() { | ||
if (window.DemoUpPlayerRenderer) { | ||
window.DemoUpPlayerRenderer(t.$container, t.props); | ||
} | ||
}); | ||
if (window.DemoUpPlayerRenderer) { | ||
window.DemoUpPlayerRenderer(t.$container, t.props); | ||
} | ||
else | ||
scriptLoader(config.playerRenderer(scope), function() { | ||
window.DemoUpPlayerRenderer && window.DemoUpPlayerRenderer(t.$container, t.props); | ||
}); | ||
} | ||
}, | ||
@@ -23,0 +26,0 @@ |
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
6186
98