jupiterjs/jquerymx — pull request #126 by arjunballa (2012-05-18 22:47:23+00:00)
Title: support for templated static fixtures

- all test cases pass
- also added documentation

// Now Templated urls can also be used with templated static fixtures.

$.fixture({
type : "GET",
url : "/todos/{id}",
}, "//jquery/dom/fixture/fixtures/test.{id}.json");

// below ajax call looks for jquery/dom/fixture/fixtures/test.911.json fixture
$.get("/todo/911", function(data) {
// data is json object constructed from //jquery/dom/fixture/fixtures/test.911.json fixture
}, "json");