Skip to content

Commit

Permalink
Merge branch 'gh-pages' of https://github.com/LivelyKernel/lively4-core
Browse files Browse the repository at this point in the history
… into gh-pages
  • Loading branch information
Nsgr committed Sep 27, 2023
2 parents ba9db8a + b573a72 commit 0b3f04e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file added src/client/Falleri2014FGA_algorithm2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/components/tools/treesitter-matches.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default class TreesitterMatches extends Morph {
let dotNodes = []

visit(rootNode, node => {
dotNodes.push(`${node.id}[label="${node.type}"]`)
dotNodes.push(`${node.id}[label="${node.type.replace(/\"/,'\\"')}"]`)
if (node.parent) dotEdges.push(`${node.parent.id} -> ${node.id}`)
})

Expand Down
6 changes: 3 additions & 3 deletions test/domain-code-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ l`
expect(root.children[0].children[0].type).equals("assignment_expression")
})

it('reconciles change when removing statement at end', () => {
xit('reconciles change when removing statement at end', () => {
let sourceOriginal = `a = 3
l`
let sourceNew = `a = 3`
Expand All @@ -116,7 +116,7 @@ l`
expect(root.children[0].children[0].type).equals("assignment_expression")
})

it('reconciles change when removing statement at start', () => {
xit('reconciles change when removing statement at start', () => {
let sourceOriginal = `l
a = 3`
let sourceNew = `a = 3`
Expand All @@ -127,7 +127,7 @@ a = 3`
expect(root.children[0].children[0].type).equals("assignment_expression")
})

it('reconciles change when adding new statement at start of a function', () => {
xit('reconciles change when adding new statement at start of a function', () => {
let sourceOriginal = `function() {
let a = 3
Expand Down
2 changes: 1 addition & 1 deletion test/templates/lively-script-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ describe("LivelyScriptTest", function() {
</lively-script>`
root.innerHTML = source
await components.loadUnresolved(root);
await lively.sleep(150); // ok, there is aysnc behavior here... give it a chance to run
await lively.sleep(200); // ok, there is aysnc behavior here... give it a chance to run
expect(self.testScriptExecOrder, "script exec order" + JSON.stringify(self.testScriptExecOrder)).deep.equal(
["a", "b", "c", "d", "e"])
});
Expand Down

0 comments on commit 0b3f04e

Please sign in to comment.