Brandon Ros

Results 284 comments of Brandon Ros

@olback any reason why this isn't working? also not sure how to update the title (if we do get this call working) after we call .display because it seems to...

Looks like we'd call this: https://developer.apple.com/documentation/appkit/nsmenu/1518154-itemchanged

What is the proper way to wait for a Promise to resolve/reject from an `eval` context in the meantime?

libwebsockets is a good idea could you outline what that would take and I’ll see if I can take a crack at it?

https://github.com/warmcat/libwebsockets/blob/master/test-apps/test-server.c Are you able to mainly use that code? I'm curious to hear what your usecase for quv is? You are clearly doing a great job fleshing it out and...

Compared to node.js, how bad do you think quv + libwebsocket performance would be for an HTTP server?

I see with `tjs__bootstrap_globals` I have some options like EventTarget. I'm also wondering if I can do something like `window.addEventListener`. ``` $ ./build/tjs Welcome to txiki.js — The tiny JavaScript...

Looks like from C I can pass an event like this: ```c /* Emit window 'load' event. */ if (!JS_IsException(ret) && is_main) { static char emit_window_load[] = "window.dispatchEvent(new Event('load'));"; JSValue...

I'm not quite sure what the "on library load" function should be, let alone the `named exports` we need to now export. `main()` would need to be converted, and we'd...

``` $ nm build/libtjs.dylib | grep TJS_GetJSContext 000000000000fb84 T _TJS_GetJSContext $ nm build/libtjs.dylib | grep TJS_GetRuntime 000000000000fb8c T _TJS_GetRuntime ``` Not bad.