This incorporates, and replaces #366.
This bunch of commits include
suppress border around images in link - IE
add Modernizr 2.6.2 + plugin test for 'cors'
update jquery + add jquery-migrate
add jquery plugin
update and add cors check
Merge branch 'master' into win-ie
update mocha & sinon lbraries
runtest.html to use latest libraries, and DOCTYPE added to stop IE
dropping into Quirks mode
Merge branch 'update-tests' into win-ie
updating libraries used by runtest
Adding script to build on windows
pinning browserify version, as per #367
fix remote flag height in IE
trying to pin point strange error with IE9
removing json test as that is not it
ensure mocha does not bail at first fail
Changing report date advance tests to use JSON.stringify
The only errors I am currently seeing in the Mocha tests are with Internet Explorer 9 & 10
"should render a plugin" - string does not match as the attributes in the link are in a different order (title coming first rather than last).
Error: expected <p>blah <a title="view" class="internal" href="/link.html" data-page-name="link">Link</a> asdf</p> to equal <p>blah <a class="internal" href="/link.html" data-page-name="link" title="view">Link</a> asdf</p> it would be possible to change this test to look at the DOM object, but...
<p>blah <a title="view" class="internal" href="/link.html" data-page-name="link">Link</a> asdf</p>
<p>blah <a class="internal" href="/link.html" data-page-name="link" title="view">Link</a> asdf</p>
report plugin - advancing
"handles weeks with offsets (noon > now)",
"handles years with offsets (march < now)", and
"handles election day (election > now)"
with the original test these all fail as IE uses a different toString format day of the week month day hour: minute:second time zone year ! Changed the test to use JSON.stringify to resolve.
This is a big pull. Thanks.
I took stringify out of the tests because that doesn't seem consistent either. Let's try comparing Date objects, not the print representation of Date objects.
There are parts of this pull that I don't understand. That makes me nervous. It would be great to get a verbal walk-through sometime. Email me if you are willing to spend a half-hour with me.