Last 12 weeks · 0 commits
2 of 6 standards met
In some cases, I want to use an AMD shim internally within a library that I've written in AMD. However, I don't want to set define or require on the global object; they should remain hidden inside the module's private scope. I copied the technique used from almond, so I assume it'll work in all environments.
Repository: developit/hazelnut. Description: :chestnut: Tiny inline AMD registry. Stars: 12, Forks: 1. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Homepage: http://npm.im/hazelnut Latest release: 0.3.0 (10y ago). Open PRs: 0, open issues: 0. Last activity: 8y ago. Community health: 42%. Top contributors: developit, cspotcode, gitter-badger.
developit/hazelnut now has a Chat Room on Gitter @developit has just created a chat room. You can visit it here: https://gitter.im/developit/hazelnut. This pull-request adds this badge to your README.md: If my aim is a little off, please let me know. Happy chatting. PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.
The commit log explains the bugs in full. I realize that this increases hazelnuts size, but some gentle refactoring can shrink it back down. Plus, hazelnut was not working for me until I fixed these bugs. As an aside, I just noticed that you pushed this project to github only hours before I needed to use it. Talk about good timing!