Vojta Jina 988ed451b5 feat($browser): jQuery style url method, onUrlChange event
This is just basic implementation of $browser.url, $browser.onUrlChange methods:

$browser.url() - returns current location.href

$browser.url('/new') - set url to /new
If supported, history.pushState is used, location.href property otherwise.

$browser.url('/new', true) - replace current url with /new
If supported, history.replaceState is used, location.replace otherwise.

$browser.onUrlChange is only fired when url is changed from the browser:
- user types into address bar
- user clicks on back/forward button
- user clicks on link

It's not fired when url is changed using $browser.url()

Breaks Removed $browser.setUrl(), $browser.getUrl(), use $browser.url()
Breaks Removed $browser.onHashChange(), use $browser.onUrlChange()
2011-09-08 20:36:33 +02:00
2011-06-06 23:10:29 -07:00
2010-10-29 10:47:06 -07:00
2011-06-02 11:15:41 -07:00
2010-10-29 10:47:06 -07:00
2010-07-09 14:45:29 -07:00
2010-01-05 16:57:36 -08:00
2010-03-15 14:41:28 -07:00
2010-11-12 16:13:53 -08:00
2010-10-29 10:47:51 -07:00

Angular

Compiling

rake compile

Running Tests

rake server:start
rake test
Description
No description provided
Readme MIT 63 MiB
Languages
JavaScript 98.8%
HTML 0.6%
Shell 0.4%
PHP 0.1%