rc1 / NestedView

A Backbone View with child parent functionality.
2 stars 0 forks source link

Have a look at this discussion on implementing support for AMD libs along with CommonJS #1

Open tmslnz opened 12 years ago

tmslnz commented 12 years ago

here: https://github.com/documentcloud/backbone/pull/688#r199706

rc1 commented 12 years ago

A summary for sending?

www.rosscairns.com www.theworkers.net

07751244728

On 19 Dec 2011, at 23:17, Tommaso Lanzareply@reply.github.com wrote:

here: https://github.com/documentcloud/backbone/pull/688#r199706


Reply to this email directly or view it on GitHub: https://github.com/rc1/NestedView/issues/1

tmslnz commented 12 years ago

The beginning of this is quite interesting: https://github.com/jrburke/backbone/blob/9ce9e5de92dc19a0aa27a0cef05fd693f83c2f1c/backbone.js#L10-8

Just looking at how people implement support for CommonJS / AMD loaders or plain browser global objects. I think I understand the factory thing he's doing there, and perhaps that's something you could use for your NestedView instead of just checking for 'exports'

 +44 772 1692021
 @tmslnz

On 20 Dec 2011, at 00:02, Ross Cairns wrote:

> A summary for sending?
> 
> --
> www.rosscairns.com
> www.theworkers.net
> 07751244728
> --
> 
> On 19 Dec 2011, at 23:17, Tommaso Lanza<reply@reply.github.com> wrote:
> 
>> here: https://github.com/documentcloud/backbone/pull/688#r199706
>> 
>> --- 
>> Reply to this email directly or view it on GitHub:
>> https://github.com/rc1/NestedView/issues/1
> 
> --- 
> Reply to this email directly or view it on GitHub:
> https://github.com/rc1/NestedView/issues/1#issuecomment-3211929