Commit graph

227 commits

Author SHA1 Message Date
Igor Minar
2f128c9619 fix(e2e): add index-nocache.html to run e2e tests without cache
using appcache while running e2e tests was causing the following
problems:
- Safari would occasionally reload the app (as a result of the appcache
  refresh) during the angular.validator.asychronous test, which would
  result in test failure and false positivy.
- Firefox6 would run the tests very slowly, disabling the cache resolved
  the latency issues
- Sometimes tests would run with stale code pulled from cache, which
  would result in flaky tests.
2011-10-03 12:24:29 -07:00
Igor Minar
2d489ff936 fix(docs): use window.execScript instead of window.eval on IE
IE's window.eval doesn't execute in the global context, so we have to
use window.execScript instead which works like window.eval on normal
browsers. However execScript throws an exception when an empty string is
passed in, so I created a workaround with a workaround.
2011-09-06 14:58:39 -07:00
Igor Minar
05ad1ce90c test(coockbook/mvc): disable tic tac toe e2e test
it looks like under certain circumstances the location service doesn't
propagate chages to window.loction. I'm disabling this test now, it is
passing on the master branch (0.10.0)
2011-09-02 22:34:07 -07:00
Igor Minar
5703984d4d test(jsonp): fixing jsonp e2e tests
- buzz api keeps on throttling our requests which makes our build fail
  so I'm disabling the buzz demo e2e test
- the $xhr service jsonp test was modified to use jsonp on angularjs.org
  instead of buzz api for the same reason as mentioned above
2011-09-02 17:10:25 -07:00
Di Peng
90ca6f983e fix(docs): remove more unecessary use of hide() and show() method
- tutorial section of docs fails to render properly as
doc:tutorial-instructions widget uses deprecated show and hide methods
of jQlite.
2011-08-21 09:41:50 -07:00
Igor Minar
19aa16c8d5 fix(docs): work around the lame ng:show directive 2011-08-21 01:12:34 -07:00
Igor Minar
4a1972c71b fix(docs): change docs.css to avoid css clashes in buzz example 2011-08-21 01:12:34 -07:00
Di Peng
ac6e1306ec fix(sample): Fix for jsFiddle integration 2011-08-19 13:29:26 -07:00
dandoyon
53a4580d95 doc(sample): Add javascript sandbox integration (jsFiddle)
Change doc_widget.js to:

- render "edit in jsfiddle" button next to all examples
- make opt out certain examples by adding jsfiddle="false" attribute to
  doc:source element
2011-08-19 01:16:56 -07:00
Igor Minar
4c8eaa1eb0 refactor(jqLite): remove jqLite show/hide support
it turns out that even with our tricks, jqLite#show is not usable in
practice and definitely not on par with jQuery. so rather than
introducing half-baked apis which introduce issues, I'm removing them.

I also removed show/hide uses from docs, since they are not needed.

Breaks jqLite.hide/jqLite.show which are no longer available.
2011-08-19 00:59:44 -07:00
Igor Minar
718ebf1fcf doc(tutorial): updates needed for 0.9.18 rebase 2011-08-18 23:33:19 -07:00
DiPeng
2f5d17f3b6 fix(docs): fix qfs.read() encoding issue
- must use binary reading when using read function in q-fs module
otherwise some unicode character may be garbled.

Closes #497
2011-08-18 23:33:10 -07:00
Igor Minar
a45d383da2 doc(contribute): add npm & q dependencies to setup instructions 2011-07-29 13:59:36 -07:00
Igor Minar
c1a681d6f4 doc(index.html): change the order of elements in the navbar
Users often don't see Tutorial and go straight to crappy Dev Guide,
changing the order should help find them right content in the right
order.
2011-07-29 13:44:55 -07:00
Igor Minar
f4df421b44 doc(css): make all navbar links bold 2011-07-29 13:43:51 -07:00
Igor Minar
bdef462ccc doc(started): fixing up the doc and adding link to the tutorial 2011-07-29 12:56:50 -07:00
Igor Minar
a79231dea6 doc(guide): various fixes and improvements 2011-07-29 12:46:54 -07:00
Igor Minar
3e54a1b18a doc(tutorial): fixes and improvements from Toni and Ben 2011-07-29 12:40:27 -07:00
Igor Minar
4b90f65614 feat(tutorial): add an arrow to 'Workspace Reset Instructions' links
The arrow is a hint that user won't navigate to a new page, but instead
the instructions will be displayed inline.
2011-07-29 11:43:17 -07:00
Di Peng
9dea9de449 feat(docs): add full offline support 2011-07-26 16:35:42 -07:00
Di Peng
bee78a8492 feat(docs): add a changelog link to the footer 2011-07-26 14:21:13 -07:00
Vojta Jina
00ea08e0ab doc(tutorial): fix navigation widget to work without jQuery
jqLite doesn't support class selectors, can find only by tag name...
2011-07-26 14:20:24 -07:00
Di Peng
8fa066190a refactor(gen-docs): use q, qq, q-fs (node modules) to write gen-docs
- re-write gendocs.js, reader.js and writer.js
- all calls are asynchronous
2011-07-20 17:33:18 -07:00
Di Peng
e90b741c94 feat(gen-docs): enable caching the whole site
Generate a manifest file automatically by reading the directories.
2011-07-20 17:09:40 -07:00
Igor Minar
ad3b8d7bcf chore(docs/.htaccess): bundle .htaccess with docs 2011-07-19 16:58:40 -07:00
Di Peng
f9b4c9da64 refactor(docs): run e2e tests with and without jquery
- e2e tests will run index.html (without jquery) and with
index-jq.html(with jquery).
- many small changes to make e2e tests work withough JQuery as we
discover problems that were previously hidden by using real JQuery.
2011-07-17 22:19:08 -07:00
Igor Minar
da464683aa doc(ng:include): improve the doc example to avoid confusion 2011-07-16 22:01:19 -07:00
Igor Minar
a8f4d87be5 doc(css): add '#content-list .level-4' css 2011-07-16 01:12:29 -07:00
Igor Minar
57ea8156a1 doc(ngdoc): add 'this' and 'returns' section for methods 2011-07-16 01:12:29 -07:00
Igor Minar
6289d18e61 doc(ngdoc): fix usage format for functions bolted onto services 2011-07-16 01:12:29 -07:00
Igor Minar
9e37ebe635 test(ngdoc): add test for @ngdoc function 2011-07-16 01:12:29 -07:00
Igor Minar
345c01c81b test(ngdoc): fix a typo in the @deprecated spec 2011-07-16 01:12:29 -07:00
Igor Minar
975aef2ad2 test(ngdoc): fix failing tests 2011-07-16 01:12:28 -07:00
Vojta Jina
7e2e7b07b6 doc($route): fix $route example and couple of typos
Rewrite $route example a bit, as it required $location and $route services
to be eager published in the root scope.

Fix small typos in formatter and ng:options docs.
2011-07-13 11:49:16 +02:00
Igor Minar
76a500179d docs:template: rename <angular/> to AngularJS 2011-07-08 08:24:09 -07:00
Igor Minar
7b32c71386 docs:css: remove bullet points from tutorial sidebar 2011-07-08 08:24:09 -07:00
Igor Minar
28e84ca167 docs:css: fix indentation for pre element 2011-07-08 08:24:09 -07:00
Igor Minar
952225f020 doc:dependencies: add /api/ prefix to dependency links 2011-07-02 10:37:04 -07:00
Igor Minar
1e8448b9e5 fix:docs: properly distinguish between being offline and 404 2011-06-30 00:49:44 -07:00
Igor Minar
ce4f27aa7b fix:docs: css lint fixes 2011-06-27 15:05:38 -07:00
Di Peng
8e6e09a4bc fix:docs: Fix sitemap generator to use doc.id instead of doc.name
doc.id should be used instead of doc.name, otherwise links are wrongly
generated
2011-06-25 08:00:43 -07:00
Vojta Jina
fee3717892 Update fixed docs content (guide)
Couple of typos fixed:

* indentation
* batchLogbatchLog -> batchLog
* start periodic checking
* missing brace
2011-06-21 16:23:48 +02:00
Vojta Jina
c8ee00cb2b Update docs from googledocs
* fixed typo in tutorial step-10
* revert cookbook/buzz example to use googlebuzz user
2011-06-16 16:27:46 +02:00
Igor Minar
3c87611188 docs - various doc fixes 2011-06-15 22:32:24 -07:00
Igor Minar
b842642b57 docs - stripping extra new lines 2011-06-15 22:31:40 -07:00
Di Peng
f8529672f6 Updated docs/cookbook/buzz from gdocs
With couple of fixes:

* indentation + code formatting
* use ng:href, ng:src
* change UserId to misko.hevery so it will work now
2011-06-15 01:33:56 +02:00
Misko Hevery
e83465c362 Fix scenario runner on IE7, IE8
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
* fetch fixed cookbook/advancedform (use ng:disabled)
* fire keydown instead of change on input
* remove frame when test finishes
2011-06-15 01:14:22 +02:00
Vojta Jina
f370be85cb Fix small typo in docs widget (tutorial instructions) 2011-06-10 18:30:55 +02:00
Misko Hevery
f9f95879f0 Added support for properties in documentation 2011-06-08 15:21:33 -07:00
Misko Hevery
8cad231bd2 Refactor injector to have invoke method for speed reasons 2011-06-08 15:21:31 -07:00