Skip to content

Commit eb6365c

Browse files
authored
Merge pull request #5499 from plotly/fixup-requirejs-throw
fixup throwing error in requirejs test
2 parents 7347bed + 82646ac commit eb6365c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/test_requirejs.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ define(function(require) {
1919
if(plotly) {
2020
console.log(plotly);
2121
} else {
22-
console.error('Error: loading with requirejs');
22+
throw 'Error: loading with requirejs';
2323
}
2424

2525
// The value returned from the function is

0 commit comments

Comments
 (0)