CreateJS/EaselJS — pull request #541 by MannyC (2014-12-20 16:23:19+00:00)
Title: Test updates.

These are some changes I made when I went to write Matrix2D test and found the phantom based tests weren't working for me.

Using the _SpecRunner.html means you don't have to update the index.html every time you add a new test.

The connect grunt task will find an open port automatically in the latest version, so I removed that custom task.

As currently written it won't have the selected port by the time listips comes by, so that will just list them on port 80, with connect listing the actual port later. I'm not sure of the use case for this but if this doesn't suit I can get it to list the endpoints using another method easily enough.

The preloadjs test that was recently added doesn't work under phantom yet.

grunt-contrib-connect updated so it supports `open`
onerror handlers added to image loads
Test runner index.html removed and grunt-created _SpecRunner.html used instead.
jasmine settings altered accordingly.
phantom based jasmine set to use connect server instead of file://
findopenports removed
bezierCurveTo and quadraticCurveTo toleranced upped to 0.008, otherwise they don't pass in phantom