Dust template #108

Open
ssowonny wants to merge 1 commits from ssowonny/dust into master
ssowonny commented 2012-01-12 09:51:53 +00:00 (Migrated from github.com)

It is really good to run test using JHW! However I couldn't use JHW for my latest project because I used dust.js for template engine.

How about supporting dust.js from jasmine-headless-webkit?
Many projects will use dust as their template engine since it is really fast and easy to use.
Recently, dust-rails is published and it helped me a lot when I tried to use dust in rails.

This fork used dust-full-0.3.0.js to compile .dust files.
It must be great if jasmine-headless-webkit supports dust.js.

Thank you.

It is really good to run test using JHW! However I couldn't use JHW for my latest project because I used [dust.js](http://akdubya.github.com/dustjs/) for template engine. How about supporting [dust.js](http://akdubya.github.com/dustjs/) from jasmine-headless-webkit? Many projects will use dust as their template engine since it is really fast and easy to use. Recently, [dust-rails](https://github.com/thefron/dust-rails) is published and it helped me a lot when I tried to use dust in rails. This fork used [dust-full-0.3.0.js](https://github.com/akdubya/dustjs/blob/master/dist/dust-full-0.3.0.js) to compile .dust files. It must be great if jasmine-headless-webkit supports dust.js. Thank you.
johnbintz commented 2012-01-12 13:41:59 +00:00 (Migrated from github.com)

Thanks for the pull request! I'm leery of including it as-is for two reasons:

  • Having to maintain that dust-full-for-compile.js within JHW itself will be a pain. It would be better for that to live elsewhere, which brings me to...
  • After I finish with reporters and other related clean-ups, I want to start implementing a plugin system for template engines like this that require additional configuration. There's another pull request in for a Haml templating engine that will get the same treatment once that's in place.

So for now, I'll keep this open, with the intention of coming up with a way to define a Gem that includes the necessary bits to hook into JHW to add what you need to add for dust.js.

Thanks for the pull request! I'm leery of including it as-is for two reasons: - Having to maintain that `dust-full-for-compile.js` within JHW itself will be a pain. It would be better for that to live elsewhere, which brings me to... - After I finish with reporters and other related clean-ups, I want to start implementing a plugin system for template engines like this that require additional configuration. There's another pull request in for a Haml templating engine that will get the same treatment once that's in place. So for now, I'll keep this open, with the intention of coming up with a way to define a Gem that includes the necessary bits to hook into JHW to add what you need to add for dust.js.
ssowonny commented 2012-01-12 15:55:11 +00:00 (Migrated from github.com)

Great! thanks :)

Great! thanks :)
This pull request has changes conflicting with the target branch.
  • lib/jasmine/headless/files_list.rb

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ssowonny/dust:ssowonny/dust
git checkout ssowonny/dust
Sign in to join this conversation.
No reviewers
No Label
bug
doc
feature
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: github-migration/jasmine-headless-webkit#108
No description provided.