Igor Minar
9f6c5db2a6
fix script name in watchr-docs.rb
2011-02-07 23:55:02 -08:00
Igor Minar
ea9ca651d2
fix how redirection is handled and tested
2011-02-06 09:35:14 -08:00
Igor Minar
d6db4b1749
fix typo in $browser mock
...
Closes #260
2011-02-04 14:23:51 -08:00
Vojta Jina
9798f5e35f
mock $log: fixed bug, added some tests
...
I extracted mock $log factory into stand alone function, so we can access it and test, because this service is rewritten by real service during testing, so we can't access it through angular.$service('$log')...
2011-02-04 14:18:28 -08:00
Igor Minar
94bf24e3b6
fix angular.js file path detection in docs
2011-02-04 14:11:53 -08:00
Igor Minar
fbc7f1b454
ng:view should be nestable in ng:include
2011-02-04 14:11:53 -08:00
Igor Minar
bf7c9d9900
$route.onChange should return the registered fn
2011-02-04 14:11:52 -08:00
Igor Minar
568574b915
mock's .xhr.flush() should throw exception when there is nothing to flush
2011-02-04 14:11:52 -08:00
Misko Hevery
46d690ff01
smarter normalization of value on option, and htmlParser fixes
2011-02-04 13:44:22 -08:00
Misko Hevery
882f412d57
Added remainder of the cookbook
2011-02-03 20:03:38 -08:00
Misko Hevery
0d4def68ae
added more cookbook: work in progress
2011-02-03 20:03:38 -08:00
Misko Hevery
d35c1ac8b0
Fixed notifyWhenNoOutstandingRequests() when using JSONP
2011-02-03 20:03:32 -08:00
Misko Hevery
2a9f7b7287
changed order of auto test runner so that JS errors show up last
2011-02-03 13:26:48 -08:00
Misko Hevery
245b60d69a
addded cookbook
2011-02-03 13:26:48 -08:00
Misko Hevery
b6a01bd27d
fixed population of value attribute on option
...
The value attribute must be populated manually, since different
browsers default to different value of option when not explicitly
defined.
2011-02-03 13:25:01 -08:00
Misko Hevery
aaaad298ac
corrected typo in the dump function which was preventig serialization of objects
2011-02-03 12:25:43 -08:00
Misko Hevery
ba6b68b6ae
changed the documentation @example to use <doc:example>
2011-02-01 10:00:09 -08:00
Misko Hevery
ed768ebc53
Developer guide documentation
2011-02-01 09:58:37 -08:00
Igor Minar
9fd3dfe49d
add support for $route.reload()
...
Closes 254
2011-02-01 09:35:19 -08:00
Igor Minar
d7686a429c
add $route.parent for setting parentScope
2011-02-01 09:35:19 -08:00
Igor Minar
6c0cf17404
add redirection support to $route
...
Closes #217
2011-02-01 09:35:19 -08:00
Igor Minar
c648fee5c2
fix $location to handle updates to empty hash well
2011-02-01 09:35:18 -08:00
Igor Minar
9462c78fbf
$browser poller should notify $location only once per url change
2011-02-01 09:35:18 -08:00
Igor Minar
c4497d60bc
fix docs for $window service
2011-02-01 09:35:18 -08:00
Igor Minar
5690627766
upgrading jstd to r845
2011-02-01 09:35:18 -08:00
Igor Minar
2389c71238
fixing $exceptionHandler docs
2011-02-01 09:33:59 -08:00
Igor Minar
ce7ab3d1ee
add support for 404 handling via $route.otherwise
...
Closes #217
2011-02-01 09:33:59 -08:00
Igor Minar
7db3b54c1f
adding spec for controller-less $route definitions
2011-02-01 09:33:59 -08:00
Igor Minar
21ad176246
fixing $route docs
2011-02-01 09:33:58 -08:00
Igor Minar
df1d222dd0
fix older release notes
2011-02-01 09:33:58 -08:00
Igor Minar
7eea26323b
upgrading jstd to r844 2011-01-31
2011-01-31 12:46:31 -08:00
Igor Minar
f0fb4a3928
jqlite should not generate exceptions when accessing attributes on Document
2011-01-30 14:43:53 -08:00
Igor Minar
0144fa1ca9
fixing angular.Scope. docs
2011-01-30 14:43:03 -08:00
Igor Minar
b612826158
preparing the 0.9.11 snow-maker iteration
2011-01-30 14:40:48 -08:00
Misko Hevery
e5a3acacad
corrected sitemap.xml format
2011-01-27 09:53:20 -08:00
Igor Minar
9f947e5b8b
cutting the 0.9.10 flea-whisperer release
v0.9.10
2011-01-26 23:51:06 -08:00
Igor Minar
75de7395bb
validator doc example should not be escaped
2011-01-26 23:44:21 -08:00
Igor Minar
9f73b1f290
updating release notes for the 0.9.10 release
2011-01-26 23:36:41 -08:00
Misko Hevery
bd33f60276
Added part of guide documentation and supporting changes to doc generator
2011-01-26 23:31:15 -08:00
Igor Minar
8682befc72
fix for stupid IE handling of named functions in mocks
2011-01-26 22:30:09 -08:00
Igor Minar
3f0a37f380
add missing test/mocks.js
2011-01-26 20:12:23 -08:00
Igor Minar
f5d08963b0
split mocks and create $log and $exceptionHandler mocks
...
- split mocks between angular-mocks.js and mocks.js
- src/angular-mocks.js now contains only mocks that we want to ship
- test/mocks.js contains mocks that we use internally for testing
angular
- created angular.mock namespace
- created public $exceptionHandler mock rethrows errors
- created public $log mock stores all logs messages in an array that can
be accessed to make assertions
- internally we now have factory to create $exceptionHandler
that we can assert on
- internally we also keep track of all messages logged and
fail tests if messages were not expected and cleaned up (checked
via global beforeEach and afterEach)
- updated RakeFile and docs reader.js to point to the new
angular-mocks.js location
- made real $exceptionHandler and $log factories accessible from tests
and simplified their specs
- fixed typos in several spec descriptions
- added log assertions throughout the test suite
2011-01-26 15:46:05 -08:00
Igor Minar
7a48ee6aa9
fix deprication typo in the doc generator
2011-01-26 15:37:22 -08:00
Igor Minar
6512a736ac
adding jsdoc for angular namespace
2011-01-26 15:37:22 -08:00
Igor Minar
9e0fa5b7c8
compile but don't bind option elements nested in a nameless select
...
otherwise an exception is thrown unexpectidly
2011-01-25 20:49:25 -08:00
Igor Minar
9368ea3814
Scope should retrieve $log and $exceptionHandler via $service
...
- fix $log and $exceptionHandler retrieval
- remove reference to non-existent `error` handler
- update tests
2011-01-25 20:49:25 -08:00
Misko Hevery
a6a4c18ecd
added any edit perf to make sure no trailing whitespace
2011-01-24 14:23:51 -08:00
Misko Hevery
d8acfe7389
add @this and @exampleDescription tags
...
(also removed markdownNoP, now done through CSS)
2011-01-24 14:23:51 -08:00
Misko Hevery
b036c0bc58
enable docs tests
2011-01-24 14:23:51 -08:00
Misko Hevery
bf03eb007c
Added SiteMap generation to the documentation
2011-01-24 14:23:51 -08:00