- From: Marcos Caceres <w3c@marcosc.com>
- Date: Mon, 14 Jan 2013 17:31:44 +0000
- To: Clint Hill <clint.hill@gmail.com>
- Cc: Brian Kardell <bkardell@gmail.com>, "public-nextweb@w3.org" <public-nextweb@w3.org>
On Monday, January 14, 2013 at 5:18 PM, Clint Hill wrote: > I think the blog article is correct - but going about it the hard way IMO. > The way that I've written the boolean test with the require statement > provides not only the modularity but also the ability to bring in > dependencies. Moreover it removes all of the additional cruft (the define > statement is useless as you still use the require func call to get the > dependency). > > As a pattern I feel that the way the web-idl-type-boolean.js file is > structured is the easiest way forward using the AMD pattern for modules > while not blocking extensibility. Ok, I see what you are doing now. Yeah, I like your approach. -- Marcos Caceres
Received on Monday, 14 January 2013 17:32:14 UTC