searls/jasmine-fixture

Refactor into jQuery plugin

Closed this issue · 2 comments

This could serve as a jQuery plugin, which could be used for lightweight templating. The syntax could be something like:

$.create('.container #something').appendTo('body')

Would you be interested in refactoring this and releasing?

This is definitely true, however:

  1. jasmine-fixture's current implementation was more or less yanked out of jquery-ZenCoding, which intends to be exactly that—a lightweight templating solution. So, to pull it out for a test lib, and then contort it back into a production lib seems inefficient. I'd give jquery-ZenCoding a chance first before forking jasmine-fixture.
  2. I really don't think this is something I'm likely to use in my own practice (right now I'm plenty happy with server-side JST compilation), so I'd rather not release it for fear it'd become popular and I'd be stuck maintaining it.

Ah, alright. Didn't see the reference to jQuery-ZenCoding. Thank you!