added hover service

This commit is contained in:
Misko Hevery
2010-04-05 20:53:33 -07:00
parent 1c670b2a7c
commit 2107eafcde
9 changed files with 102 additions and 25 deletions

View File

@@ -3,7 +3,7 @@ BrowserTest = TestCase('BrowserTest');
BrowserTest.prototype.testUrlWatcher = function () {
expectAsserts(2);
var location = {href:"http://server", hash:""};
var watcher = new Browser(location);
var watcher = new Browser(location, {});
watcher.delay = 1;
watcher.watchUrl(function(url){
assertEquals('http://getangular.test', url);