Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
wvanheemstra committed Nov 10, 2024
1 parent 9a99582 commit d9614c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,7 @@ BlockMirrorTextToBlocks.prototype.isTopLevel = function (parent) {
BlockMirrorTextToBlocks.prototype.convert = function (node, parent) {
console.debug('BlockMirrorTextToBlocks.convert');
let functionName = 'ast_' + node._astname;
console.debug("+++++" + node._astname) // wvh For testing only
if (this[functionName] === undefined) {
throw new Error('Could not find function: ' + functionName);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4876,6 +4876,7 @@ Parser.prototype.classify = function (type, value, context) {

if (ilabel) {
//print("is keyword");
console.debug("+++++ " + value + " is a keyword"); // wvh For testing only
return ilabel;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ <h1 class="text-2xl font-bold mb-4">Edit Build</h1>
console.log('Change! Better save:', event);
// console.debug(document.getElementById('code').innerText);
});
editor.setCode('threagile_version: 1.0.0'); // 'threagile_version: 1.0.0'
editor.setCode('author X:\n return a'); // 'threagile_version: 1.0.0'
// MORE
$('#make-image').click(function () {
editor.blockEditor.getPngFromBlocks((u, i) => $('#image-spot').html(i));
Expand Down

0 comments on commit d9614c2

Please sign in to comment.