Brenton Simpson

Results 135 comments of Brenton Simpson

I know Michael (who runs unpkg) and trust him to be a good person. I've run plenty of code he's written. Still, I'm wary to recommend that people load code...

@samdeane Is there any documentation for that method, or is the source available? I'm trying to pass the resulting callback into `NSSavePanel`'s `beginSheetModalForWindow` and getting an error when the block...

Thanks @samdeane. Makes me wonder if I can do something to box a number on the Cocoa side before calling my block, so I can use the `callback` method, but...

@mathieudutour Do you think it's possible to open-source `callback_asBlockWithArguments_data_`? Would be great if there was a way to use a JS closure as a block that supported any shape of...

@mathieudutour I'm not at all married to `callback_asBlockWithArguments_data_` - it's just the only method I've found to pass a JavaScript callback as an Objective-C block. It doesn't look like `MOGetBlockForJavaScriptFunction`...

That's helpful to know - looks like the first parameter of `asBlockWithArguments` is a global function name that gets called back. Can you help me understand the other two? I'm...

Thanks, but I'm still not seeing anything helpful. `context` is what you're calling the argument to the global function, right? I'm not seeing an `arguments` property on it, nor am...

@evilbird, Recounting our conversation here. Ultimately, we want an Objective-C function that takes two arguments: a list of type encodings and a JavaScript function. To simplify the problem, the first...

I've got some operators written in the docs: https://material-motion.github.io/indefinite-observable-js/docs/ They should be included in the examples too.

Here are some AST parsers for JS: - https://github.com/babel/babylon - https://github.com/jquery/esprima Here are some things that came up when I searched for JS AST diffing: - https://github.com/GumTreeDiff/gumtree - https://github.com/prettydiff/prettydiff -...