From 0649009624e8e7bd6fb39537f62c6f00facbfb16 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 22 Sep 2010 13:24:40 +0200 Subject: Refactored the Browser: - change from using prototype to inner functions to help with better compression - removed watchers (url/cookie) and introduced a poller concept - moved the checking of URL and cookie into services which register with poolers Benefits: - Smaller minified file - can call $browser.poll() from tests to simulate polling - single place where setTimeout needs to be tested - More testable $browser --- scenario/browser.html | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 scenario/browser.html (limited to 'scenario/browser.html') diff --git a/scenario/browser.html b/scenario/browser.html new file mode 100644 index 00000000..eac43692 --- /dev/null +++ b/scenario/browser.html @@ -0,0 +1,22 @@ + + + + + + + +

Should mark input field red and create hover

+ + +

Should reflect changes in URL

+
$location={{$location}}
+ hash:
+ hashPath:
+ hashSearch:
+ +

Should reflect changes in Cookie

+
$cookies={{$cookies}}
+ $cookies:
+ + + -- cgit v1.2.3