57 Commits

Author SHA1 Message Date
Vojta Jina
805e083c24 Remove trailing white spaces from all source files
find . -name "*.js" -print | xargs sed -Ei s/[[:space:]]*$//
2011-05-19 09:43:56 -07:00
Vojta Jina
1abdc097b2 JSTD adapter for running e2e tests
Couple of changes into angular.scenario runner:
 - add autotest config (runs tests when document ready)
 - update ObjectModel (forwards events)
 - use only one ObjectModel instance for all outputters
 - expose error msg and line number in ObjectModel.Spec and ObjectModel.Step
 - fix generating spec.ids
 - fix 'html' output so that it does not mutate ObjectModel

Couple of changes into docs / generator:
 - rename copy -> copyTpl
 - move docs/static into docs/examples (to avoid conflict with jstd proxy)

Running all docs e2e tests:
========================================================
1/ compile angular-scenario, jstd-scenario-adapter
>> rake compile

2/ build docs
>> rake docs

3/ start jstd server
>> ./server-scenario.sh

4/ capture some browser

5/ run node server to serve static content
>> node ../lib/nodeserver/server.js

6/ run tests
>> ./test-scenario.sh
2011-05-19 09:43:56 -07:00
Igor Minar
6f8940c5d0 add missing example files for temp.html 2011-02-18 23:02:13 -08:00
Igor Minar
746e7a9768 update example/temp.html template 2011-01-24 14:03:42 -08:00
Igor Minar
67d064820c fixing up personalLog app 2011-01-04 18:04:01 -08:00
Igor Minar
b2631f6170 rename scope.$inject to scope.$service
see changelog diff for more info
2011-01-04 18:04:00 -08:00
Misko Hevery
d0270d9256 Remove many eager-publish services, lazy polling
- Browser now starts the poller on first call to addPollFn()

- Many services ($location, $cookies, $router) are no longer eager-publish. The result is that
  unless someone needs the $cookies, they will not cause the Browser to start polling for them.
2011-01-04 16:40:40 -08: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
Igor Minar
01c52e92b1 Adding e2e tests for the PersonalLog app
- added scenario runner
- added scenario specs
- cookie cleaning DSL
- making rmLog independent on ordering in the view
2010-10-26 21:58:00 -07:00
Misko Hevery
9c0225512c fixes IE related failures, and form submit event handling in ie 2010-10-26 16:33:59 -07:00
Igor Minar
4fc2141458 improving the PersonalLog app
- adding jsdocs and comments
- logs should be ordered in inverse order
2010-10-23 16:25:53 -07:00
Igor Minar
5b40e87ac6 personalLog demo - initial version with spec 2010-10-23 14:38:08 -07:00
Misko Hevery
1efef67b5f corrected buzz.html to use ng:src on images to prevent sporious browser requests/errors 2010-10-22 14:27:03 -07:00
Vojta Jina
3bd4abba6b Fixed calculator examples
* Fixed wrong reference to jquery library, and old method names (scope.$set, scope.$eval), added scope.$init() call...
* Changed to use angular-debug.js
* use simple assignments
2010-10-09 23:04:09 -07:00
Misko Hevery
89245f3a52 added RequestHeaders to XHR 2010-08-03 16:53:27 -07:00
Misko Hevery
03aac8b0ab fix broken build, fix #autobind and css loading 2010-07-29 15:26:10 -07:00
Misko Hevery
1b768b8443 refactored $location service so that it correctly updates under all conditions 2010-07-29 12:54:13 -07:00
Misko Hevery
2a30a02f01 fix preventDefault for events 2010-07-27 15:54:50 -07:00
Misko Hevery
8015e09e38 added buzz demo, fix undefined() -> undefined 2010-07-23 10:48:18 -07:00
Misko Hevery
2987f7f705 fix howers which were accidently broken 2010-07-22 15:32:57 -07:00
Misko Hevery
849a05b5a5 added jsonp to resources 2010-07-22 11:18:32 -07:00
Misko Hevery
bebfbeac0a fixed xhtml compatibility, fix console in chrome 2010-07-20 16:55:32 -07:00
Misko Hevery
7e96af0fdd added equals method to angular.equals and $equals 2010-07-19 12:29:24 -07:00
Misko Hevery
1f05621509 change all attributes from ng- to ng: prefix 2010-07-02 15:39:57 -07:00
Misko Hevery
0a288d1db3 error example 2010-05-13 13:39:20 -07:00
Misko Hevery
4b9b9e9830 fix incorect parsing of url if it contains dash - character 2010-05-13 12:03:10 -07:00
Misko Hevery
deb86fe357 lots of small fixes 2010-04-16 14:01:29 -07:00
Misko Hevery
843bd355d2 various bug fixes 2010-04-09 16:20:15 -07:00
Misko Hevery
ee327a1f4f few fixes to make tests pass with jquery 2010-04-06 14:04:08 -07:00
Misko Hevery
258ca5f165 moved all uneeded files out, widgets.html works, tests horribly broken 2010-03-26 16:27:18 -07:00
Misko Hevery
4fa166866b input select-one now works 2010-03-25 14:43:05 -07:00
Misko Hevery
1b976dc27d tweeter demo script 2010-03-23 15:18:32 -07:00
Adam Abrons
c9aba8b442 make xhr just a method 2010-03-16 14:48:11 -07:00
Adam Abrons
2df072e3f8 twitter using resources 2010-03-16 14:38:56 -07:00
Adam Abrons
39c6c5975b get scenarios running again - open Runner.html in a browser to run them 2010-03-15 17:02:54 -07:00
Adam Abrons
e3565dfea6 rename and fix binding examples 2010-03-15 14:47:28 -07:00
Misko Hevery
cc71b745c3 added resources; removed compiled code 2010-03-15 14:36:50 -07:00
Misko Hevery
3f9a2ab9bd added asynchronous validator 2010-02-12 19:39:01 -08:00
Misko Hevery
9d566a0cd0 better integer farmater 2010-02-05 14:41:54 -08:00
Misko Hevery
1da18e73a4 consider widget errors only when widgets are visible 2010-02-04 13:27:56 -08:00
Misko Hevery
5dd43b85e7 ng-required treats whitespace as empty 2010-02-04 11:45:38 -08:00
Misko Hevery
2880411713 added bootstrap, fixed formatter 2010-01-29 10:15:15 -08:00
Misko Hevery
4460328bc1 lots of cleanup to get it ready for OS 2010-01-23 15:54:58 -08:00
Misko Hevery
e41ee88ef8 fix bug when multiple binders on same page 2010-01-22 11:21:22 -08:00
Misko Hevery
a12b81773f added jquery 1.4 and mute to twitter client 2010-01-20 07:24:30 -08:00
Misko Hevery
4950b86da5 added mute button 2010-01-20 07:08:57 -08:00
Misko Hevery
dc0db57b36 tweek tweeter 2010-01-20 06:52:50 -08:00
Misko Hevery
db2031c5a1 added debug info; fix parser bug with double negation 2010-01-19 17:53:20 -08:00
Misko Hevery
910ddbe34e update image for adam 2010-01-18 17:58:43 -08:00