Commit Graph

17 Commits (be4b312d49720f365a5245f1a8e16f26ed741f32)
 

Author SHA1 Message Date
ALI Hamza be4b312d49
refactor(name): change repository references to golang-wasm 2021-03-22 23:58:55 +07:00
Chan Wen Xu 421c331333
fix: Call FromJSValue using the correct parameter 2021-03-23 00:30:51 +07:00
Chan Wen Xu 8eadf27091
feat: Implement FromJSValue 2021-03-23 00:30:42 +07:00
Chan Wen Xu 9faa609930
fix: Use function wrapper provided by JS 2021-03-21 21:55:07 +07:00
Chan Wen Xu 37088bf382
docs: Document unexported functions
Some unexported functions are non-trivial and may be confusing. This
commit clarifies their use.
2021-03-21 21:55:07 +07:00
Chan Wen Xu ad5b341b1e
feat: Add reflection to create JS value from Go value 2021-03-21 21:55:07 +07:00
Chan Wen Xu f3864a59ca
feat: Implement Promise 2021-03-21 21:55:07 +07:00
Chan Wen Xu 392b175abf
feat: Implement a type-safe Object struct 2021-03-21 21:55:07 +07:00
ALI Hamza da1769920a
feat(js): implement wrapper for interfacing with Go functions in JS 2021-03-21 20:52:49 +07:00
ALI Hamza 3b119bd81a
fix(js): do callback on correct type when go compilation fails 2021-03-21 20:48:05 +07:00
ALI Hamza 92296f6a56
refactor(js): apply pr suggestions 2021-03-21 16:25:22 +07:00
ALI Hamza caaad47c74
refactor(js): move webpack loader to src 2021-03-21 12:21:34 +07:00
ALI Hamza f6150013d5
feat: add LICENSE 2021-03-21 12:12:43 +07:00
ALI Hamza f6d264ea40
refactor(js): remove debug calls in bridge.js 2021-03-21 12:12:38 +07:00
ALI Hamza ef20dff682
feat(js): error when GOROOT not found, add dev server to example 2021-03-21 12:11:36 +07:00
ALI Hamza f19165c53d
feat(js): add basic webpack loader with example 2021-03-21 12:11:36 +07:00
ALI Hamza 2946363e88
Initial commit: add package.json 2021-03-20 16:31:23 +07:00