Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Dec 12, 2024
1 parent 7e73df4 commit 7dd819c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions core/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,14 +103,13 @@ Blockly.Options = function(options) {
if (hasCss === undefined) {
hasCss = true;
}
/*var pathToMedia = 'https://blockly-demo.appspot.com/static/media/';
if (options['media']) {
var pathToMedia = 'https://blockly-demo.appspot.com/static/media/';
/*if (options['media']) {
pathToMedia = options['media'];
} else if (options['path']) {
// 'path' is a deprecated option which has been replaced by 'media'.
pathToMedia = options['path'] + 'media/';
}*/
pathToMedia = 'https://blockly-demo.appspot.com/static/media/';
if (options['oneBasedIndex'] === undefined) {
var oneBasedIndex = true;
} else {
Expand Down

0 comments on commit 7dd819c

Please sign in to comment.