James Talmage

Results 85 issues of James Talmage

[](https://issuehunt.io/r/sindresorhus/any-observable/issues/12) An import that won't throw: ``` js var Observable = require('any-observable/optional'); // => null if there is no implementation ``` IssueHunt Summary ### Sponsors (Total: $20.00) - [ issuehunt](https://issuehunt.io/u/issuehunt)...

enhancement
help wanted
:dollar: Funded on Issuehunt

We should write better documentation than just pointing to `any-promise` (though we can probably steal a good bit from there). One important thing the `any-promise` documentation does is to offer...

Closes #84 ``` js var types = require('ast-types'); var assert = require('assert'); var b = types.builders; var n = types.namedTypes; assert.strictEqual(b.whileStatement.paramCount, 2); assert.deepEqual(b.whileStatement[0], { name: 'test', body: n.Expression, required: true...

An idea I've been playing with: I have got a situation where I am going to take my custom AST, perform some optimizing transforms, and then use that AST to...

**update**: now that my original question has been answered, This issue is now a request for documentation. Leaving it open because the discussion below is a good starting point for...

Interesting approach to the problem. I think it has promise. Just a couple thoughts: - As a Babel plugin, I do not think this is a likely solution for CoffeeScript...

allow users to create reusable assertions by calls to some global method ``` addAssertion("assertIsAwesome", function(args): ... : end function ) ``` This would populate some global associative array with methods...

Create a global method with signature `btmark(message as String)` that pushes each new message to a global stack variable. The global stack variable should be reset before running each test....

For example: If I'm using `t.assertTrue(...)` multiple times in the same test, I currently have no way of knowing which of those assertions failed. An expanded syntax of: ``` t.assertTrue(value,...

using a suffix allows the file and its related test to be listed next to each other in IDE directory listings, etc.