Link Details

Link 71377 thumbnail
User 278956 avatar

By neil@onebahamas.com
via sitepen.com
Submitted: Mar 17 2008 / 22:22

But wouldn’t it be nice if we could just do this: var Child = sp.clone(Parent, { foo: "new value" }); It would certainly be a lot less painful and a lot prettier. By the end of this example, you’ll not only have this function available to be added to your code base, you’ll know how it works.
  • 3
  • 0
  • 156
  • 22

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (3)



Voters Against This Link (0)