note on AMD best practices
|Reported by:||andrew@…||Owned by:|
Not surprisingly, jQuery has become the go-to example for developers looking to add an AMD definition to their library. As we know, jQuery's near ubiquity means that certain AMD recommendations are not practical for jQuery. Unfortunately, the jQuery named module registration is referenced with the (reasonable) assumption that it's representative of AMD best practices. I'm hoping an extra comment will make it clear that jQuery is a special case.
See https://github.com/jquery/jquery/pull/1478 for the patch and links to related discussions.
Change History (4)
comment:1 Changed 3 years ago by markelog
- Keywords docs added
- Priority changed from undecided to low
- Status changed from new to open
- Type changed from bug to feature