Skip to content

Commit

Permalink
Merge pull request #148 from calcit-lang/js-delete
Browse files Browse the repository at this point in the history
doc for js-delete, also aliased js-get js-get
  • Loading branch information
NoEgAm authored Mar 15, 2024
2 parents ec5d90c + b19af77 commit e3644ea
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 100 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,9 @@ jobs:
node-version: 20
cache: yarn

- uses: supplypike/setup-bin@v3
- uses: calcit-lang/setup-[email protected]
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.34/cr'
name: 'cr'
version: '0.8.34'

- uses: supplypike/setup-bin@v3
with:
uri: 'https://github.com/calcit-lang/calcit/releases/download/0.8.34/caps'
name: 'caps'
version: '0.8.34'
version: '0.8.41'

- name: "compiles to js"
run: >
Expand Down
24 changes: 24 additions & 0 deletions docs/apis.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -1869,6 +1869,30 @@
quote $ defn f ()
hint-fn async
js-await async-f
{}
:name |js-get
:tags $ #{} :js :syntax
:desc "|alias for `aget`, which generates `a[b]`"
:snippets $ []
quote $ let
a $ js-object (:a 1)
js-get a |a
{}
:name |js-set
:tags $ #{} :js :syntax
:desc "|alias for `aset`, which generates `a[b]=c`"
:snippets $ []
quote $ let
a $ js-object
js-set a |a 1
{}
:name |js-delete
:tags $ #{} :js :syntax
:desc "|which generates `delete a[b]`"
:snippets $ []
quote $ let
a $ js-object (:a 1)
js-delete a |a
{}
:name |hint-fn
:tags $ #{} :syntax :js
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"dependencies": {
"@calcit/procs": "^0.8.34",
"@calcit/procs": "^0.8.41",
"cirru-color": "^0.2.4",
"copy-text-to-clipboard": "^3.2.0",
"feather-icons": "^4.29.1"
},
"devDependencies": {
"bottom-tip": "^0.1.5",
"vite": "^5.1.4"
"vite": "^5.1.6"
},
"version": "0.0.1"
}
176 changes: 88 additions & 88 deletions yarn.lock

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

0 comments on commit e3644ea

Please sign in to comment.