Igor Minar
ae5f6f48b4
scenario repeater should match only visible stuff
2010-11-10 21:04:44 -08:00
Igor Minar
c5b2bf083c
Make ng:repeat expose $position.
...
- $position is a textual representation of the position of
repeated item ('first', 'middle', 'last')
- added specs for $index
2010-11-10 21:04:44 -08:00
Misko Hevery
0499c47270
added ng:switch-when-default; changed $watch to always fire on init. (may be backward incompatible)
2010-11-10 21:01:17 -08:00
Misko Hevery
6b8ed42670
Added Directives
2010-11-10 12:02:49 -08:00
Igor Minar
6d53808475
improve jsdocs
...
- improve json filter example
- improve filter overview doc
- improving validator overview jsdocs
- simplify number filter examples and make them live + add specs
- various doc fixes
2010-11-09 22:33:27 -08:00
Igor Minar
324694a58b
Better example widget
...
- syntax highlighting
- tabless design
- rename widget to doc:example
- rename widget files (wiki_widget.* -> doc_widget.*)
- example section is now optional
2010-11-09 22:27:31 -08:00
Elliott Sprehn
257e97a65f
Support substring matching of bindings with repeater(). Closes #123
2010-11-09 13:39:12 -08:00
Misko Hevery
c048f0d8e8
Added formatter documentation.
2010-11-09 09:15:29 -08:00
Elliott Sprehn
96e37a0866
Add key/value jQuery methods in a loop. Support 'css' method.
...
Closes #134
2010-11-09 08:02:49 -08:00
Igor Minar
fc9ce9ec07
make angular.String.toDate consider all time fractions as optional
2010-11-08 22:49:30 -08:00
Igor Minar
da17c61444
angular.Date.toString should use toISOString if available
2010-11-08 22:49:30 -08:00
Igor Minar
e5c135ac50
Support ISO 8601 extended datetime format troughout angular.
...
Support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
in EcmaScript 5 throughout angular. This means that the following apis switched from
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
- angular.Date.toString
- angular.String.toDate
- JSON serialization and deserialization (used by json filter, $xhr and $resource)
2010-11-08 22:49:30 -08:00
Igor Minar
1a43f36e23
Add isDate method + fix old code
2010-11-08 22:49:29 -08:00
Igor Minar
a397645537
date filter should accept ISO 8601 formatted string as input
...
Closes #125
2010-11-08 22:46:41 -08:00
Vojta Jina
00ca67e4be
Issue #51 : Update extensionMap()
...
If user override existing extension, angular properties ($) will be preserved.
This piece of logic could be refactored into separate method:
Something like we have extend(), addMissingProperties() - I can't find a name
for this method...
Closes #51
2010-11-07 14:42:03 -08:00
Misko Hevery
91b6c5f7ff
Added documentation for validators.
...
BACKWARD INCOMPATIBLE: removed ssn validators, since it is unlikely that most people will need it and if they do, they can added it thorough RegExp
2010-11-07 13:06:55 -08:00
Vojta Jina
5be325a0c1
Refactored toJsonArray(), added isBoolean() function
2010-11-05 21:39:00 -07:00
Vojta Jina
b7027b9d87
Updated toJson() to not serialize window/document objects.
...
The reason to void these to objects is that they cause all sorts
of problems like exceptions being thrown and infinite loops occuring
when we iterate over object properties.
2010-11-05 21:39:00 -07:00
Vojta Jina
fe8353bc5e
Changed toJson() to not ignore $ properties
2010-11-05 21:39:00 -07:00
Misko Hevery
d5e9f38f3d
fix error in json parser which did not allow 1.2E10 as number
2010-11-05 16:41:36 -07:00
Misko Hevery
dc66687149
added tests for documentation
2010-11-05 15:05:24 -07:00
Misko Hevery
3d6a099d6e
changed to showdown from markup. added validator overview
2010-11-05 13:32:37 -07:00
Misko Hevery
47066e70e1
added documentation for ng:include and ng:widget and test for doc collector.
2010-11-04 14:24:31 -07:00
Elliott Sprehn
ee5e881b9e
Fix JSON serialization breakage in WebKit browsers
2010-11-03 11:47:06 -07:00
Elliott Sprehn
690dfe000b
Serialize RegExp to string in JSON. Closes #119 .
2010-11-03 11:10:51 -07:00
Igor Minar
dfa8baf59a
hide example for angular.filter
2010-11-03 10:02:20 -07:00
Igor Minar
a8efd43d25
doc parser should recognize the 'defaults' syntax for params
2010-11-03 09:47:23 -07:00
Misko Hevery
5159eb7635
fix the linky filter
2010-11-03 09:47:22 -07:00
Igor Minar
1ba8c2a33a
more documentation for filters
2010-11-03 09:47:22 -07:00
Misko Hevery
659af29adb
jsdoc parser + generator + viewer + scenario runner
...
- parse jsdocs from source code
- generate prerendered (markdown + mustache) partials
- generate json
- generate scenario runner for examples in docs
- basic angular doc viewer
2010-11-03 09:47:22 -07:00
Igor Minar
1fe7e3a130
add jsdocs for angular and filter namespaces + all filters
2010-11-03 09:47:21 -07:00
Igor Minar
aec3c8478c
binding() should return value for input/text area, innerHTML for the rest
2010-11-03 09:47:21 -07:00
Igor Minar
5c887ddb66
adding textarea() DSL for scenario runner
2010-11-03 09:47:21 -07:00
Igor Minar
0bd4a473a7
adding regular expressions support for binding() DSL
2010-11-03 09:44:54 -07:00
Elliott Sprehn
dcf76e6816
Provide better sandbox error messages, and disallow running from file:// URLs
2010-11-02 11:27:54 -07:00
Elliott Sprehn
56a3d52f45
Make future names consistent and handle falsy values in jQuery generated methods properly
2010-11-02 11:20:41 -07:00
Elliott Sprehn
faa7d81b67
Add browser().reload() to simulate a refresh from a user
2010-11-01 17:24:24 -07:00
Elliott Sprehn
6bb2cd6ee2
Provide browser DSL with location() to expect the iframe URL parts. Also move navigateTo() under the browser DSL.
2010-11-01 15:21:37 -07:00
Vojta Jina
2d61040fb0
Small refactor in $location service
...
Added new inner method updateLastLocation()
2010-10-31 21:37:54 -07:00
Vojta Jina
99f25050a3
Fixing issue #98 (infinite loop when location hash set empty)
...
Added tests and fixed the issue.
Closes #98
2010-10-31 21:37:33 -07:00
Misko Hevery
ba5f8ee27f
fix typo, and change a list to string for more efficient compression.
2010-10-31 15:04:30 -07:00
Elliott Sprehn
9a532002cf
Auto generate all the jQuery get/set methods
2010-10-29 12:19:22 -07:00
Elliott Sprehn
5524d2b0fb
Check if file exists (not a 404) and that document is accessible and not using file:// URLs in Application
2010-10-29 11:40:56 -07:00
Andres Ornelas
34909520ae
add optional label to dsl with selectors to improve test and output readability
...
e.g.
Before:
code: element('.actions ul li a').click();
output: element .actions ul li a click
After
code: element('.actions ul li a', "'Configuration' link").click();
output: element 'Configuration' link ( .actions ul li a ) click
2010-10-28 15:21:02 -07:00
Elliott Sprehn
92e31b556f
Correctly fail tests if no binding matches and add better test cases for failure behavior.
2010-10-27 17:56:44 -07:00
Misko Hevery
62c0e5c460
Fix failing tests for ie, and mark elements as ng-widget, ng-directive, and ng-binding
2010-10-27 15:42:46 -07:00
Igor Minar
c67af8a038
rename src/Parser.js to src/parser.js
2010-10-27 15:32:30 -07:00
Elliott Sprehn
2da1de5a6d
Revert performance optimization of using setTimeout in SpecRunner every 10 steps. Breaks loading partials
2010-10-27 13:41:31 -07:00
Misko Hevery
943377a091
fix closure compile warnings
2010-10-26 21:06:24 -07:00
Misko Hevery
9c0225512c
fixes IE related failures, and form submit event handling in ie
2010-10-26 16:33:59 -07:00