Setup script correctly compare input against regex. Brew goes to valid URL.
Merge pull request #191 from fagbokforlaget/setup_script_fix

Setup script now correctly compare input against regex.
Fix bookmarklet config substitution

There were two unrelated problems preventing this from working:

1) Declaring a dependency on the config when it doesn't exist causes redo to
   get very unhappy. The build dependency will now only be added if the config
   file exists.

2) Newlines in sed substitutions are a bad idea...
Deal appropriately with query string Store URLs

Fixes #186, which pointed out that the Store plugin was only substituting
annotation IDs when the URLs contained the string '/:id', and wouldn't work
for just ':id'.
trap SIGINT also for shutting down the test server

Allows clean aborts in the middle of a test run, in case it's
taking a long time.
don't choke when an annotation has no highlights

With this change, 'annotationDeleted' events are fired for
cancelled annotations. This is a behavior change. Previously,
this event was only fired when saved annotations were deleted,
but not when new edits were cancelled.

It's my belief that this event is helpful information. A quick
audit of Annotator shows that nothing relies upon the previous
behavior. For example, the Store plugin registers annotations
after the 'annotationCreated' event is fired and ignores events
on unregistered annotations, thereby ignoring the 'annotationDeleted'
event that this change causes.
Store plugin should not assume once only loading

Related to #177
Upgrade to coffeescript 1.6 and enable source maps

This enables source map generation in development. To enable source map support
in the Chrome developer tools:

1. Open Developer Tools: View -> Developer -> Developer Tools
2. Click the "Settings" cog in the bottom-right corner
3. Choose "General," and select "Enable source maps"
fix for some adder positioning edge cases

Reported in hypothesis/h#371
Replace jasmine with mocha and mocha-phantomjs
Update test syntax and stubs
Add 'test' script to package.json for 'npm test'
Add travis config and bump node dep
Speed up time-dependent tests with sinon fake timers
Remove vendored jasmine
Customize test runner output for Travis

The "dots" reporter isn't very helpful in the Travis log, so allow overriding
the reporter by setting a make variable, and set it to "spec" when running "npm
test".
add tools/build
update test_phantom for mocha
Fixed broken link
Merge pull request #204 from b-long/patch-1

Fixed broken link