From 1a42a3fab99ca02af0476f5a87175c53104aa2e3 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Mon, 11 Jan 2010 16:15:12 -0800 Subject: green --- test/LoaderTest.js | 4 ++-- test/ServerTest.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/LoaderTest.js b/test/LoaderTest.js index 88ae3efa..a474c8a4 100644 --- a/test/LoaderTest.js +++ b/test/LoaderTest.js @@ -50,8 +50,8 @@ UrlWatcherTest.prototype.testItShouldFireOnUpdateEventWhenSpecialURLSet = functi expectAsserts(2); var location = {href:"http://server", hash:"#$iframe_notify=1234"}; var watcher = new UrlWatcher(location); - callbacks._iframe_notify_1234 = function () { - assertEquals("undefined", typeof callbacks._iframe_notify_1234); + angular.callbacks._iframe_notify_1234 = function () { + assertEquals("undefined", typeof angularCallbacks._iframe_notify_1234); assertEquals("http://server2#", location.href); }; watcher.delay = 1; diff --git a/test/ServerTest.js b/test/ServerTest.js index e367c90a..02fab84c 100644 --- a/test/ServerTest.js +++ b/test/ServerTest.js @@ -10,7 +10,7 @@ ServerTest.prototype.testBreakLargeRequestIntoPackets = function() { assertEquals(200, code); assertEquals("response", r); }); - callbacks.uuid0("response"); + angularCallbacks.uuid0("response"); assertEquals( "|http://server/$/uuid0/2/1?h=eyJtIjoiUE9TVCIsInAiOnt9LCJ1Ij" + "|http://server/$/uuid0/2/2?h=oiL2RhdGEvZGF0YWJhc2UifQ==", @@ -35,7 +35,7 @@ FrameServerTest.prototype = { testWrite:function(){ var window = {}; var server = new FrameServer(window); - server.data = "TestData" + server.data = "TestData"; server.write(); assertEquals('$DATASET:"TestData"', window.name); } -- cgit v1.2.3