No description
Find a file
Pete Bacon Darwin febb4c1c35 fix(jqLite): children() should only return elements
The jQuery implementation of children only returns child nodes of the given element that are elements themselves. The previous jqLite implementation was returning all nodes except those that are text nodes. Use jQLite.contents() to get all the child nodes.

The jQuery implementation of contents returns [] if the object has no child nodes.  The previous jqLite implementation was returning undefined, causing a stack overflow in test/testabilityPatch.js when it tried to `cleanup()` a window object.

The testabilityPatch was incorrectly using children() rather than contents() inside cleanup() to iterate down through all the child nodes of the element to clean up.
2013-01-09 09:22:35 +00:00
.externalToolBuilders Created a performance test harness and reporter 2011-06-08 13:49:10 -07:00
.settings added any edit perf to make sure no trailing whitespace 2011-01-24 14:23:51 -08:00
css refactor(directives): connect new compiler 2012-01-25 11:50:37 -08:00
docs docs(guide): fix typos in unit test guide 2013-01-07 21:01:01 +01:00
example fix(scenario): Adding meta tag to avoid cache issues 2012-08-30 15:36:42 -07:00
i18n fix(scenario): Adding meta tag to avoid cache issues 2012-08-30 15:36:42 -07:00
images doc(guide): add concepts 2012-08-27 15:44:38 -07:00
lib chore(jquery): upgrade to jquery 1.8.2 2012-11-26 15:45:04 +01:00
logs creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
perf feat(module): new module loader 2012-01-10 22:27:00 -08:00
regression style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
src fix(jqLite): children() should only return elements 2013-01-09 09:22:35 +00:00
test fix(jqLite): children() should only return elements 2013-01-09 09:22:35 +00:00
tmp creating logs/ and tmp/ dirs 2010-10-29 10:47:06 -07:00
.gitattributes docs(typos): fix typos in dev guide 2012-08-30 15:43:58 -07:00
.gitignore chore(jstd): remove JsTestDriver from our repo 2012-10-18 03:13:04 -07:00
.project Created a performance test harness and reporter 2011-06-08 13:49:10 -07:00
.travis.yml chore: add travis config 2012-09-24 23:39:33 -07:00
angularFiles.js chore(testing): Testacular config files + rake tasks 2012-09-13 16:23:18 -07:00
changelog.js docs(changelog): release notes for 1.0.0rc5 reality-distortion 2012-04-12 03:26:10 -07:00
CHANGELOG.md docs(CHANGELOG): release notes for 1.0.3 and 1.1.1 releases 2012-11-27 01:43:05 +01:00
changelog.spec.js chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
changelog.tmp.md chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
check-size.sh chore(check-size.sh): fix rake target 2012-10-22 12:39:37 -07:00
CONTRIBUTING.md docs(CONTRIBUTING.md): add contrib info file for GitHub 2012-11-25 21:00:14 +01:00
gdocs.js chore(formating): clean code to be function() { 2011-10-11 11:01:46 -07:00
gen_docs.sh chore(docs): get correct location for jasmine-node 2012-09-06 16:06:25 -07:00
init-repo.sh chore(scripts): add init-repo script 2012-09-11 17:27:57 -07:00
LICENSE chore(license): update to google 2012-04-20 11:29:34 -07:00
nodeserver.sh Fix issue where directories don't have a slash on the end and allow specifying a different port 2010-10-23 14:22:54 -07:00
package.json chore(testacular): use local testacular version 2012-10-31 16:47:28 -07:00
Rakefile chore(testacular): use local testacular version 2012-10-31 16:47:28 -07:00
README.md docs(README.md): add missing 'you' and a comma 2012-12-11 19:20:30 +01:00
release-commit.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
start-iteration.sh chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
testacular-e2e.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-jqlite.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-jquery.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
testacular-modules.conf.js chore(test): add junit config for testacular 2012-10-17 13:17:16 -07:00
validate-commit-msg.js chore(validate-commit-msg): recognize 'revert' as valid commit type 2012-11-26 21:05:38 +01:00
validate-commit-msg.spec.js chore(validate-commit-msg): recognize 'revert' as valid commit type 2012-11-26 21:05:38 +01:00
version.js chore(release scripts): auto release scripts 2012-03-29 07:22:13 -07:00
version.yaml chore(release): start 1.1.2 tofu-animation iteration 2012-11-28 14:21:33 +01:00
watchr-docs.rb chore(watchr): watchr scripts should output logs to terminal 2011-10-31 11:34:25 -07:00

AngularJS

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTMLs syntax to express your applications components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding. To help you structure your application better and make it easy to test, AngularJS teaches the browser how to do dependency injection and inversion of control. Oh yeah and it also helps with server-side communication, taming async callbacks with promises and deferreds; and make client-side navigation and deeplinking with hashbang urls or HTML5 pushState a piece of cake. The best of all: it makes development fun!

Building AngularJS

Once you have your environment setup just run:

rake package

Running Tests

Running tests requires installation of Testacular:

sudo npm install -g testacular

To execute all unit tests, use:

rake test:unit

To execute end-to-end (e2e) tests, use:

rake package
rake webserver &
rake test:e2e

To learn more about the rake tasks, run rake -T and also read our contribution guidelines and instructions in this commit message.