any-observable icon indicating copy to clipboard operation
any-observable copied to clipboard

Optional import

Open jamestalmage opened this issue 9 years ago • 2 comments

Issuehunt badges

An import that won't throw:

var Observable = require('any-observable/optional');
// => null if there is no implementation
IssueHunt Summary

Sponsors (Total: $20.00)

Become a sponsor now!

Or submit a pull request to get the deposits!

Tips

jamestalmage avatar May 03 '16 21:05 jamestalmage

👍 Wrapping it in try/catch would easily get annoying.

sindresorhus avatar May 03 '16 21:05 sindresorhus

@issuehunt has funded $20.00 to this issue.


IssueHuntBot avatar May 28 '19 16:05 IssueHuntBot