Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/imba/imba
Browse files Browse the repository at this point in the history
  • Loading branch information
somebee committed Mar 4, 2024
2 parents 033fb2c + fa97014 commit 3790ca6
Show file tree
Hide file tree
Showing 10 changed files with 44 additions and 13 deletions.
4 changes: 2 additions & 2 deletions packages/imba-monarch/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/imba-monarch/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "imba-monarch",
"description": "Fault-tolerant lexer/parser for imba using monarch",
"version": "0.4.1",
"version": "0.4.2",
"author": "Sindre Aarsaether <sindre@identu.no>",
"main": "dist/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/imba/changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## Unreleased
## 2.0.0-alpha.236

* Fix issue with self in functional components.

Expand Down
4 changes: 2 additions & 2 deletions packages/imba/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/imba/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "imba",
"description": "Intuitive and powerful language for building webapps that fly",
"author": "Sindre Aarsaether",
"version": "2.0.0-alpha.234",
"version": "2.0.0-alpha.235",
"scripts": {
"test": "node bin/imba scripts/test-runner.imba",
"test-cli": "cd test/cli && node ../../bin/imba index.imba",
Expand Down
31 changes: 31 additions & 0 deletions packages/imba/test/apps/observables/batch.imba
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import 'imba/spec'

let calls = 0
let runs = 0

class Base
@observable array = []

@computed get size
calls++
array.slice(0).length

@autorun def stuff
runs++
array.slice(0).length


test do
let base = new Base
base.size
imba.atomic do
for i in [0 ... 100]
base.array.push(10)
base.size
base.size

eq base.size, 100
ok calls == 2
eq runs, 2

SPEC.run!
4 changes: 2 additions & 2 deletions packages/typescript-imba-plugin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/typescript-imba-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "typescript-imba-plugin",
"description": "imba plugin for tsserver",
"version": "1.6.3",
"version": "1.6.4",
"author": "Sindre Aarsaether <sindre@identu.no>",
"main": "dist/index.js",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/vscode-imba/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/vscode-imba/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vsimba",
"displayName": "Imba",
"description": "Language support for Imba",
"version": "4.0.2",
"version": "4.0.3",
"publisher": "scrimba",
"main": "./dist/index.js",
"icon": "assets/imba.png",
Expand Down

0 comments on commit 3790ca6

Please sign in to comment.