Skip to content

Commit

Permalink
Merge pull request #3287 from bromagosa/allow-open-load-lib
Browse files Browse the repository at this point in the history
allow #open: to fetch and load libraries from a URL
  • Loading branch information
jmoenig authored Dec 12, 2023
2 parents fe66eab + c5d8115 commit c7868db
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/gui.js
Original file line number Diff line number Diff line change
Expand Up @@ -545,6 +545,14 @@ IDE_Morph.prototype.openIn = function (world) {
projectData.indexOf('<project') === 0
) {
this.rawOpenProjectString(projectData);
} else if (
projectData.indexOf('<blocks') === 0
) {
this.rawOpenBlocksString(
projectData,
null, // name, optional
true // silently
);
}
this.hasChangedMedia = true;
},
Expand Down

0 comments on commit c7868db

Please sign in to comment.