Mark Salsbery
d574700b3d
Event Handler Signatures Changed to 'fn(event)'
...
All event handler signatures changed to 'fn(event)'
eventSource property added to the event object passed
Redundant event source properties removed ('button' and 'viewer'
Documentation updated in MouseTracker
changelog.txt updated
2013-10-10 17:00:15 -07:00
iangilman
9050a39387
Merge pull request #243 from avandecreme/master
...
Add coordinates conversion methods to viewport.
2013-10-10 10:38:09 -07:00
Jon Stroop
32254f1418
removed duplicate iiif test tile files (w/ different names) and completed sets
2013-10-05 15:44:06 -04:00
Jon Stroop
935013c120
added missing 1.1 tiles
2013-10-05 15:38:00 -04:00
Jon Stroop
54ace13782
deleted duplicate iiif 1.1 test tiles
2013-10-05 15:15:47 -04:00
Jon Stroop
8f154e3173
removed old, unnecessary files from cache
2013-10-05 15:11:59 -04:00
Jon Stroop
964e73b9a5
iiiftilesource now uses pixel-based syntax 'w,'. level 1 compliance it still required, so backward compatability should not be an issue
2013-10-05 15:02:26 -04:00
Antoine Vandecreme
3e5a9b52c9
Rollback basic.html and create coordinates.html.
...
Fix unit tests.
Fix documentation.
2013-10-05 10:21:12 -04:00
iangilman
74332ca374
Merge pull request #238 from jpstroop/issue236
...
IIIF 1.0 and 1.1 tests now depend on local tiles
2013-10-04 10:51:30 -07:00
Jon Stroop
c418725ade
full tile sets
2013-10-03 19:23:52 -04:00
Antoine Vandecreme
791ecfae75
Add coordinates conversion methods to viewport.
2013-10-03 17:27:11 -04:00
Jon Stroop
85c4f27dd8
resolves #236 ; iiif 1.0 and 1.1 tests now depend on local tiles
2013-10-02 15:53:10 -04:00
Mark Salsbery
d8fc7d10f9
Merge branch 'master' into Event-Names-Normalize
2013-10-01 15:12:00 -07:00
Jon Stroop
8099f8a803
applied iangilman\'s patch
2013-10-01 15:07:45 -07:00
Jon Stroop
4a00a62dd8
Adding iiif 1.0 info samples
2013-10-01 15:07:44 -07:00
Jon Stroop
e4bd874b03
added test for 1.1; renamed 11 to 1_1
2013-10-01 15:07:44 -07:00
Jon Stroop
8750300612
applied iangilman\'s patch
2013-09-30 19:42:16 -04:00
Mark Salsbery
ec3141a778
Event Names Normalized
...
Compound event names lower case with hyphen.
Button event names removed "on" and made lower case.
2013-09-30 10:22:06 -07:00
Jon Stroop
00870530af
Adding iiif 1.0 info samples
2013-09-28 06:46:41 -04:00
Jon Stroop
dcb2fc7136
added test for 1.1; renamed 11 to 1_1
2013-09-26 17:24:02 -04:00
Mark Salsbery
041597998f
Event Names Normalized
...
All event names lower case with no hyphens
2013-09-26 09:50:26 -07:00
Mark Salsbery
dab182757d
Renamed EventHandler to EventSource ( #225 )
2013-09-24 13:36:13 -07:00
Mark Salsbery
4adeacdc5e
MouseTracker Original Events in Handlers
...
MouseTracker Unit Tests
2013-09-20 09:17:48 -07:00
Mark Salsbery
0bbf6bc58a
Unit tests for canvas drag, release, click events
2013-08-30 10:09:22 -07:00
Mark Salsbery
1a005573f5
Unit tests for canvas drag, release, click events
2013-08-29 13:01:07 -07:00
Mark Salsbery
6049a7ecef
Unit tests for canvas drag, release, click events
...
Added test for canvas-drag, canvas-release, and canvas-click events
2013-08-28 11:33:41 -07:00
Mark Salsbery
853a141994
Unit tests for userData in events (issue #203 )
2013-08-28 05:50:22 -07:00
Luke Murray
ab82783cf1
update the comments and unit test
2013-08-13 10:33:12 +10:00
Luke Murray
0c662b8a8d
fix: comment updates and add a simple test for viewer.destroy
2013-08-12 16:38:37 +10:00
Chris Adams
3434fe600c
Tests: update AJAX tests
...
* IE8 support for makeAjaxRequest test (xhr.response does not exist,
responseText is supported by all major browsers)
* Update makeAjaxRequest test to confirm that the success callback is
called and that the error callback is not
* Add a test for makeAjaxRequest with an invalid file and verify that
error callback is called but the success callback is not
2013-07-02 16:37:19 -04:00
Chris Adams
6d7dd71577
Tests: IE8 support for log capture
...
No Array.indexOf. We are living like animals!
2013-07-02 16:20:56 -04:00
Chris Adams
9fb4ae2a9a
Tests: more targeted log capture setup
...
@Ventero pointed out that functions also have a length property
2013-07-02 16:09:23 -04:00
Chris Adams
2a3044e0cf
Tests: verify invalid string log messages
2013-07-02 15:20:17 -04:00
Chris Adams
7131c7a7da
Tests: check for AJAX error log message
2013-07-02 15:19:55 -04:00
Chris Adams
5a300998a8
Tests: console log capture utility
2013-07-02 15:12:16 -04:00
Chris Adams
d782da411e
Tests: code cleanup
2013-07-02 13:56:55 -04:00
Chris Adams
59a254bea6
Tests: add open failure tests, overhaul test framework
...
* Add tests for open failures
* Refactor tests to avoid tests depending on implied status from
previous tests:
1. The viewer is now created and destroyed for each
test to avoid pollution and simplify error handling: nothing
starts until you request it.
2. Some tests like Basic: Homepage depended on the Zoom & Pan tests;
now this is handled explicitly as part of the test setup
3. All basic tests are now properly async tests (since they needed
the viewer to load, they really were in the past except that
they were relying on the viewer state left behind from previous
tests)
* All tests now run inside the qunit-fixture to prevent masking
failures. Util.resetDom() has been refactored to use the
qunit-fixture and the teardown logic only used in the navigator
tests has been moved into the navigator test teardown method
* Fixed undeclared mainViewerElement variable in optional path in
the navigator tests
* JSHint cleanup
2013-07-01 18:26:44 -04:00
Chris Adams
7048cda69e
Tests: getString with placeholder expansion
2013-07-01 16:55:39 -04:00
Chris Adams
d447bd5612
Remove detritus left behind from error handler testing
2013-07-01 12:55:58 -04:00
Chris Adams
630bccad3d
Basic demo: set HTML5 doctype
...
This keeps IE8 out of quirks mode, which breaks things like
getWindowSize…
2013-06-28 15:44:38 -04:00
Chris Adams
c850121e9b
Tests: avoid leaking into global scope
...
This means that this will pass without error:
http://127.0.0.1:8000/test/test.html?noglobals=true
2013-06-26 16:54:37 -04:00
Ian Gilman
8e88f36098
Merge branch 'master' into raf
...
Fixed Conflicts:
src/viewer.js
2013-06-19 11:19:54 -07:00
Chris Adams
9f6f164d9f
Remove all whitespace
...
The results of running this command::
find . -name \*.js -print0 | xargs -0 perl -p -i -e "s|[ \t]+$||"
(Split from #136 )
2013-06-19 13:33:27 -04:00
Ian Gilman
b38e319f2c
Testing closing one image and opening another in navigator suite
2013-06-18 11:09:05 -07:00
Ian Gilman
9a28793e64
Testing source and timer management in basic test
2013-06-18 11:08:33 -07:00
Ian Gilman
862b560cb4
Basic test no longer uses navigator since we have a suite for that
2013-06-18 11:08:16 -07:00
iangilman
f412d07237
Merge pull request #121 from houseofyin/issue37-navigator
...
Issue37 navigator / Issue101 navigator follow-up / Issue102 navigator default
2013-06-13 09:39:27 -07:00
houseofyin
1833f85232
Implemented fix for a test failure that shows up on Firefox in some situtions
2013-06-12 15:06:17 -04:00
houseofyin
af1f1b64af
Removing the navigator demo files now that we have reasonable tests and examples for the navigator
2013-06-11 14:36:39 -04:00
Ian Gilman
29f3d80249
Making the basic demo a little more useful for debugging
2013-06-10 17:23:09 -07:00