         '.author': authorName,
         '.link': $('a').text(authorName).href('link-to-author')
       }) // as above, but searches the top-level object instead of a sub-object
+    .graft({
+      '.author': author.name,
+      '.link[href]': linkFor(author) // sets the href attribute
+      '.link[class+] ': author.category // adds the category to the class attribute
+      '.other-link[target] ': 'EXTERNAL' // targets other-links with a target attribute (note space at the end)
+      '.other-link[target=_blank]': 'new window' // targets other-links with a target attribute _blank
+    })
 
 If the graft call is invoked on an element with class `template', it
 will clone that element and remove the template class, add the resulting

on the other hand, the graft call is invoked on an element without that class,
it will operate directly on the element and return it.

-------------
Collections
-------------


          '.link': $('a').text(author.name).href(linkFor(author)),
        }
      })

###
addGraft = (jQuery) ->
