On p. 116 of 'Rapid Rails with Hobo' it covers <extend>:
2. Define a tag based on another tag (method 2). .... It would be nice if the information about defining an alias before an extend to have access to original define was included at this point in the book, as I do not believe it is covered else where... Jet On Jan 8, 2:11 pm, blueHandTalking <[email protected]> wrote: > Bryan, > > Yes, your correction would avoid the problem. > The change clearly states that <old-card> is only > available within <extend>, and that the alias > must be done 'before' the <extend>. > > Perfect! > > Thanks, > > Jet > > On Jan 8, 10:39 am, Bryan Larsen <[email protected]> wrote: > > > Jet, > > > just to be clear, your problem would have been avoided if I had made > > this change to the DRYML manual: > > > -The one thing to notice there is that the "old" version of `<card>`, > > i.e. the one that was active before you're extension, is available as > > `<old-card>`. That's about all there is to it. > > - > > +The one thing to notice there is that the "old" version of `<card>`, > > +i.e. the one that was active before your extension, is available as > > +`<old-card>`. That's about all there is to it. `<old-card>` is only > > +available inside of `<extend>` -- if you need it elsewhere you can > > +alias the old card *before* you extend it. (See the next chapter). > > + > > > Did I understand your problem correctly? > > > thanks, > > Bryan
-- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
