Skip to content

Commit

Permalink
Merge branch 'master' of github.com:jupiterjs/canjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ccummings committed Apr 18, 2012
2 parents 77dfa01 + 4e97912 commit c3482bc
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions route/route_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,7 @@ test("strange characters", function(){
equal(res, "bar/"+encodeURIComponent("\/"))
});

/* TODO add can/route/testing.html
test("updating the hash", function(){
stop();
window.routeTestReady = function(iCanRoute, loc){
Expand All @@ -280,13 +281,13 @@ test("updating the hash", function(){
setTimeout(function(){
var after = loc.href.substr(loc.href.indexOf("#"));
equal(after,"#!bar/"+encodeURIComponent("\/"))
console.log('Route test ready');
start();

},30)
}
var iframe = document.createElement('iframe');
iframe.src = steal.root.join("can/route/testing.html")
can.$("#qunit-test-area")[0].appendChild(iframe)
})

iframe.src = steal.root.join("can/route/testing.html");
can.$("#qunit-test-area")[0].appendChild(iframe);
})
*/

0 comments on commit c3482bc

Please sign in to comment.