Skip to content

Commit 734a880

Browse files
committed
Fix #31: load blockly assets from static bundled resources
1 parent 72801fc commit 734a880

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/Activity.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export default {
385385
// Options
386386
{
387387
toolbox: serializedToolbox,
388-
//path : '../../', // ? this makes to load audio assets from /media FIXME
388+
path : 'static/js/blockly/',
389389
// TODO: Use values from fetched configuration!
390390
scrollbars: true,
391391
//MaxBlocks : -1, // -1 as infinite not working FIXME

src/components/Blockly.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ export default {
378378
// Options
379379
{
380380
toolbox: serializedToolbox,
381-
//path : '../../', // ? this makes to load audio assets from /media FIXME
381+
path : 'static/js/blockly/',
382382
// TODO: Use values from fetched configuration!
383383
scrollbars: true,
384384
//MaxBlocks : -1, // -1 as infinite not working FIXME
@@ -531,7 +531,7 @@ export default {
531531
}.bind(this))
532532
} else {
533533
this.unvalidName = true
534-
}
534+
}
535535
},
536536
loadProgramList() {
537537
let axios = this.$axios

0 commit comments

Comments
 (0)