Igor Minar 263f47819f test(form): fix broken preventDefault test
the original test relied on incorrect assumptions about how jasmine async
tests work (when setTimeout is triggered) and how browser reloads a page
(the sequence of events) and thus the test passes even when the default
is not prevented.

this change fixes the test by registering an extra submit event handler
that checks if the default was prevented.

if the default was not prevented, the test will fail and the page will
be reloaded causing the test runner to panic.
2012-08-10 14:20:52 -07:00
2012-08-10 14:20:13 -07:00
2012-03-28 11:24:47 -07:00
2012-08-10 14:19:47 -07:00
2010-10-29 10:47:06 -07:00
2012-01-10 22:27:00 -08:00
2010-10-29 10:47:06 -07:00
2011-10-11 10:53:07 -07:00
2010-07-09 14:45:29 -07:00
2012-04-20 11:29:34 -07:00
2010-11-12 16:13:53 -08:00

AngularJS

AngularJS lets you write client-side web applications as if you had a smarter browser. It lets 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!

Compiling

rake compile

Running Tests

./server.sh                          # start the server
open http://localhost:9876/capture   # capture browser
./test.sh                            # run all unit tests
Description
No description provided
Readme MIT 63 MiB
Languages
JavaScript 98.8%
HTML 0.6%
Shell 0.4%
PHP 0.1%