We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b251947 + 96d5019 commit a04e81dCopy full SHA for a04e81d
tasks/test_amdefine.js
@@ -16,7 +16,7 @@ if(typeof define !== 'function') {
16
define(function(require) {
17
var plotly = require('../dist/plotly.min.js');
18
19
- if(plotly) {
+ if(plotly && plotly.PlotSchema) {
20
console.log(plotly);
21
} else {
22
throw 'Error: loading with amdefine';
tasks/test_requirejs.js
@@ -18,7 +18,7 @@ requirejs.config({
requirejs(['plotly'],
function(plotly) {
23
24
throw 'Error: loading with requirejs';
0 commit comments