Ian Gilman
b07e4b200a
Merge pull request #719 from Emigre/umd
...
registers an AMD module if possible
2015-09-14 13:54:27 -07:00
Ian Gilman
9f2a2f361d
Changelog for #711
2015-09-03 09:24:15 -07:00
Gaspar Rey
f799a1fe86
Add 'define' as a global in JSHint
2015-09-03 00:35:43 +01:00
Gaspar Rey
00459189b1
Define as an AMD module if available
2015-09-02 00:10:53 +01:00
Ian Gilman
bc6759e7fb
Merge pull request #696 from avandecreme/master
...
Avoid using eval when JSON.parse is available.
2015-07-31 09:34:16 -07:00
Antoine Vandecreme
4bb80067f7
Avoid using eval when JSON.parse is available.
2015-07-30 16:21:59 -04:00
Hasse Feldthaus
8e591d1108
Renamed ambiguous event label.
2015-07-29 18:27:23 +02:00
Hasse Feldthaus
29d5401eed
Added some missing semicolons.
2015-07-29 18:19:45 +02:00
Hasse Feldthaus
565e7cd097
Added XDomainRequest as fallback method for ajax, if XMLHttpRequest fails.
2015-07-29 17:19:08 +02:00
Larissa Smith
339401683f
Added configuration parameter to allow a horizontal layout that has a fixed number of columns or a vertical layout that has a fixed number of rows.
2015-07-02 13:20:57 -06:00
Grant Echols
0806e4d4ed
Fixed comment regarding autoResize.
2015-06-25 14:14:05 -06:00
Grant Echols
df878f6f82
Changed preserveImageSizeOnResize to require autoResize=true.
...
Refactored resizing code to share more code.
Removed preserveImageSizeOnResize parameter from viewer.
2015-06-24 10:48:00 -06:00
Grant Echols
fb21dabd76
Added configuration parameter: preserveImageSizeOnResize to preserve the default behavior.
...
Changed fitBounds to fitBoundsWithConstraints as per Ian's instructions.
2015-06-23 10:55:57 -06:00
Antoine Vandecreme
9d053c545b
Fix Ian's comments.
2015-04-20 19:25:36 -04:00
Philip Giuliani
21d32b59f5
Pass tiledImage and context to the placeholderFillStyle function
2015-04-15 13:32:41 +02:00
Philip Giuliani
e3ae7b56f1
:docs: Document placeholderFillStyle
2015-04-11 19:01:09 +02:00
Philip Giuliani
f8503bd6ac
Add placeholderFillStyle option to tiledImage
2015-04-10 14:31:08 +02:00
Philip Giuliani
da819ac15a
Add possibility to draw gradients and images
2015-04-09 14:25:07 +02:00
Philip Giuliani
4523454ff1
Add option to define the fillStyle of the placeholder
2015-04-09 13:44:55 +02:00
Antoine Vandecreme
a372274ee1
Fix Cross Origin policy not working ( #612 )
...
Remove useless hostUrl field
2015-02-26 17:57:31 -05:00
Ian Gilman
f118ae9407
Minor preserveOverlays cleanup
2015-02-13 13:26:44 -08:00
Antoine Vandecreme
6662001aae
Fixed Firefox 35 not able to open local files ( #588 )
2015-02-10 18:28:05 -05:00
Ian Gilman
bd1dad7829
Merge pull request #583 from wesleyfok/collections
...
WIP basic high pixel density support re: openseadragon/openseadragon#541
2015-02-04 09:10:50 -08:00
Wesley Fok
a23da44b8f
Clean up $.pixelDensityRatio comments
2015-01-29 15:14:41 -05:00
unknown
3402d33088
WIP basic high pixel density support re: openseadragon/openseadragon#541
2015-01-29 11:19:49 -05:00
Ian Gilman
735fcc3e37
Merge branch 'master' into collections
...
fixed Conflicts:
src/navigator.js
src/openseadragon.js
2015-01-22 11:15:45 -08:00
Mark Salsbery
43d8924513
Added tabIndex option to viewer
2015-01-21 12:47:42 -08:00
Ian Gilman
c55daff222
Merge pull request #553 from openseadragon/ajax
...
Allowing XHRs withCredentials for authenticated requests
2015-01-15 14:35:06 -08:00
Ian Gilman
a411215eba
Merge branch 'master' into collections
...
fixedConflicts:
src/openseadragon.js
2015-01-12 14:31:20 -08:00
Ian Gilman
83b7d7597a
Added a note about preserveOverlays
2015-01-12 14:22:10 -08:00
Ian Gilman
0fd94bb048
Merge branch 'master' into collections
...
fixed Conflicts:
changelog.txt
src/viewer.js
2015-01-12 14:10:49 -08:00
Younes El Alami
9e07c96d29
Added preserveOverlays option to Viewer
2015-01-09 02:21:16 +00:00
Ian Gilman
a336b23667
Documentation for ajaxWithCredentials-related changes
2015-01-02 16:07:11 -08:00
Ian Gilman
c820f9f918
Added ajaxWithCredentials option
2015-01-02 15:45:46 -08:00
Ian Gilman
2de44c752d
Using "viewport coordinates" instead of "world coordinates"
2014-11-24 11:59:06 -08:00
Ian Gilman
f018059b60
Docs for sequence mode
2014-11-17 11:50:20 -08:00
Ian Gilman
1ed80b0d27
Docs and naming changes for collection mode
2014-11-12 16:31:46 -08:00
Ian Gilman
c4c17db045
Supporting collectionTileSize and collectionTileMargin
2014-11-12 15:48:38 -08:00
Ian Gilman
d346d165f8
Updated documentation
2014-11-04 11:53:39 -08:00
Ian Gilman
31c15aed69
Merge branch 'collections' into ian
...
fixed Conflicts:
src/viewer.js
test/demo/collections/main.js
2014-11-04 09:58:09 -08:00
Ian Gilman
72aa6c4669
Docs for Viewer.open()
2014-10-29 17:06:14 -07:00
Ian Gilman
2a7f48ef60
Cleanup and docs for margins
2014-10-16 15:19:05 -07:00
Ian Gilman
63996a7d92
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-09-17 16:05:23 -07:00
nein09
b0613a5971
Revert "Merge remote-tracking branch 'origin/issue-127' into issue-127"
...
oh god help
This reverts commit ffa2ee1e8d
, reversing
changes made to 2163e5230c
.
2014-09-12 15:31:05 -07:00
nein09
8b368f72f7
I somehow missed saving the jsdoc change in my last commit.
2014-09-12 14:50:43 -07:00
nein09
9b66eeee99
Merge remote-tracking branch 'origin/master' into issue-127
2014-09-12 10:41:19 -07:00
nein09
741978caf9
Incorporate code review feedback for Openseadragon isue 127. Added appropriate default values and docs to openseadragon.js; restored a blank line that I accidentally deleted.
2014-09-12 10:33:48 -07:00
Ian Gilman
6f0f23e728
Fixed constraints for when homeBounds.x or y is negative
2014-08-26 15:12:49 -07:00
Ian Gilman
5a1a41428b
Merge branch 'master' into collections
...
fixed Conflicts:
src/drawer.js
2014-08-26 11:53:03 -07:00
Dominik Picheta
0ff6eb443d
Added pinchRotate option.
2014-08-22 15:22:00 +01:00
Ian Gilman
26e9575f41
Merge branch 'collections' into ian
2014-08-15 14:50:19 -07:00
Ian Gilman
1cc29db432
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-08-15 14:49:56 -07:00
Dominik Picheta
afd8b48d6b
Fixes #192 .
...
Navigator can now rotate together with the viewer.
2014-08-12 15:27:16 +01:00
Ian Gilman
b43ac582dc
Merge branch 'collections' into ian
2014-08-07 10:06:44 -07:00
Ian Gilman
00c7315989
Merge branch 'master' into collections
...
fixed Conflicts:
src/viewport.js
2014-08-07 10:06:15 -07:00
Ian Gilman
dbb60c0ab2
Splitting drawer into drawer/tileCache/tiledImage; adding World
2014-08-06 13:48:18 -07:00
Mark Salsbery
e9b7634499
Added $.setElementTouchActionNone function
2014-08-05 16:57:54 -07:00
Mark Salsbery
c6bea68b4e
Merge branch 'master' into IE9-MouseTracker-Clicks
2014-08-05 07:00:05 -07:00
Mark Salsbery
e11095968c
Mousetracker Over/Out Tracking Fixes
2014-08-04 21:41:07 -07:00
Ian Gilman
6066fa2eeb
Cleanup and docs.
2014-07-31 16:17:46 -07:00
Ian Gilman
02b606680d
Updated to latest npm packages
2014-06-02 11:02:22 -07:00
iangilman
af383668d4
Merge pull request #392 from msalsbery/Double-Tap
...
Add Double-Click/Tap Gesture to MouseTracker (#300 )
2014-04-28 10:01:23 -07:00
Mark Salsbery
5806eed7f4
Merge remote-tracking branch 'origin/master' into IE-Browser-Detection
2014-04-24 12:50:21 -07:00
Mark Salsbery
8232546d51
Merged upstream changes, fixed conflicts
2014-04-24 12:40:49 -07:00
iangilman
c0a3333663
Merge pull request #387 from msalsbery/Touch-Enter-Event
...
MouseTracker Touch Fixes - Flick Defaults and Bubbling
2014-04-24 10:32:35 -07:00
iangilman
669925776a
Merge pull request #379 from avandecreme/ajax-file
...
Fix ajax call for file: and ftp: #73
2014-04-24 10:02:44 -07:00
Mark Salsbery
e900b605af
Update changelog.txt
...
Updated changelog.
Misc documentation fixes.
2014-04-22 09:41:29 -07:00
Mark Salsbery
7567a657bd
Add Double-Click/Tap Gesture to MouseTracker ( #300 )
...
Fix for enhancement #300
Added double-click/tap gesture detection to MouseTracker.with
corresponding dblClickHandler event callback.
Added unit test for double-click detection.
Added Viewer dblClickHandler handling to optionally zoom on
double-click.
2014-04-22 09:23:56 -07:00
Antoine Vandecreme
e7ca7b1e95
Prefer DOMParser over ActiveX when both are availables.
2014-04-21 09:23:17 -04:00
Mark Salsbery
765df51bd3
Stiffened the spring
2014-04-20 21:25:29 -07:00
Mark Salsbery
5860167d65
MouseTracker Touch Fixes - Flick Defaults and Bubbling
...
Flick gesture settings defaults set to better values.
Removed touch event model bubble cancelling so viewer controls show on
touch contact.
2014-04-20 18:19:32 -07:00
Mark Salsbery
8589ebef0d
Fix for IE 11 Browser Detection
...
Proposed temporary fix until we don't need browser sniffing anymore.
2014-04-19 12:10:48 -07:00
Antoine Vandecreme
6a24af3743
Add @private to internal methods.
2014-04-18 16:59:47 -04:00
Antoine Vandecreme
116cf7449f
Test if activex is available by trying to create one for ie11 compatibility.
2014-04-17 17:20:04 -04:00
Antoine Vandecreme
3b4dca329d
Use ActiveX on IE when requesting a file: URL with ajax.
2014-04-17 16:13:26 -04:00
Mark Salsbery
c2e7b376b0
pinchToZoom gesture option added, misc. fixes
...
changelog update.
pinchToZoom gesture option added.
Event unit tests cleaned up.
2014-04-15 19:19:47 -07:00
Antoine Vandecreme
47ae094675
Fix ajax call for file: and ftp: #73
2014-04-15 12:55:32 -04:00
Mark Salsbery
e8e0f28f5a
Merge Upstream Changes
2014-04-15 06:40:46 -07:00
Mark Salsbery
09bfd55add
MouseTracker fixes and tests
...
Separated event-model/device specific event handling code from
event-model/device agnostic event handling code.
Use enter/leave events instead of over/out events.
Updated unit tests for above changes.
Added unit tests for mouse gestures.
Updated changelog for breaking changes and deprecations.
2014-04-14 18:17:18 -07:00
Ian Gilman
5dafa32f5d
Changelog for #376 and spelling fix
2014-04-09 09:06:46 -07:00
iangilman
a2a5387a83
Merge pull request #376 from avandecreme/hide-controls
...
Add showZoomControl, showHomeControl and showFullPageControl options to ...
2014-04-09 09:04:35 -07:00
Antoine Vandecreme
e27df5327f
Improve documentation.
2014-04-09 10:18:51 -04:00
Antoine Vandecreme
dbe87d659e
Disable CORS by default.
2014-04-07 16:59:48 -04:00
Antoine Vandecreme
16ee82d43b
Add showZoomControl, showHomeControl and showFullPageControl options to be able to hide specific controls. See #210
...
Add missing doc for buttons.
Set the rotate buttons to viewer.rotate(Left/Right)Button for coherence with other buttons.
Update tests.
2014-04-07 14:11:33 -04:00
Mark Salsbery
642c302225
Changelog, documentation, options update
2014-04-03 10:06:12 -07:00
Mark Salsbery
dc48a31412
Exposed gesture settings as options
2014-04-03 08:50:25 -07:00
Mark Salsbery
b8ea87d3f8
MouseTracker Fixes
...
Fixed mouse capture, should work on IE8 without IE8-specific code.
2014-04-01 18:27:54 -07:00
Mark Salsbery
1475f5865d
Multi-Touch MouseTracker Update
...
Ready to pull request, merging upstream changes and running tests.
2014-03-29 17:02:24 -07:00
Mark Salsbery
3c0ca21568
Merge remote-tracking branch 'origin/master' into Pointer-Event-Model
2014-03-21 11:54:28 -07:00
iangilman
184ba0dbea
Merge pull request #364 from sul-dlss/cors-policy
...
add crossOriginPolicy drawer configuration to enable or disable CORS image requests
2014-03-21 09:18:41 -07:00
Chris Beer
3d028716fe
add crossOriginPolicy drawer configuration to enable or disable CORS image requests
2014-03-20 10:30:46 -07:00
Antoine Vandecreme
ba10c392a1
Merge branch 'master' into layers
...
Conflicts:
src/drawer.js
src/viewer.js
test/test.html
2014-03-19 16:24:48 -04:00
Antoine Vandecreme
c9df575347
Merge from master
2014-03-18 13:17:43 -04:00
Antoine Vandecreme
2473c809b2
Fix mistakes in doc.
2014-03-18 13:05:21 -04:00
Antoine Vandecreme
ecf10f5911
Fix test messages, add doc and factorize overlay object creation
2014-03-15 11:20:33 -04:00
Mark Salsbery
c7ea247baa
Initial commit - Multi-touch, pointer event MouseTracker
2014-03-10 11:49:51 -07:00
Grant Echols
e368bd50aa
Added tests for rotate control on/off setting.
2014-03-03 14:45:30 -07:00
Grant Echols
60da75aede
Added configuration around the rotate left/right buttons. The default for showRotationControls is false to preserve existing functionality. Also added default tooltip strings for the buttons.
...
This version runts the tests fine locally using 'npm test'. It looks like the remote build was having a timeout issue which I couldn't reproduce.
2014-03-03 09:28:28 -07:00
Antoine Vandecreme
d43b6d86b5
Add layersAspectRatioEpsilon check
2014-01-30 16:43:35 -05:00
Antoine Vandecreme
63af1e7517
Uncomment version
2014-01-05 19:30:52 -05:00
Antoine Vandecreme
b542b90590
Fix $.indexOf pollyfill
...
Add the original options in addLayer events
Add layers demo page
2014-01-05 19:20:45 -05:00
Mark Salsbery
1e9ea154f2
Added navigatorAutoResize option
...
Improved resizable navigator support.
2013-12-14 14:45:11 -08:00
Mark Salsbery
0d29c98df2
Enhanced Navigator Resizability ( #280 , #296 )
...
New navigator options:
* @property {Boolean} [showNavigator=false]
* Set to true to make the navigator minimap appear.
*
* @property {Boolean} [navigatorId=navigator-GENERATED DATE]
* The ID of a div to hold the navigator minimap.
* If an ID is specified, the navigatorPosition, navigatorSizeRatio,
navigatorMaintainSizeRatio, and navigatorTop|Left|Height|Width options
will be ignored.
* If an ID is not specified, a div element will be generated and
placed on top of the main image.
*
* @property {String} [navigatorPosition='TOP_RIGHT']
* Valid values are 'TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT',
'BOTTOM_RIGHT', or 'ABSOLUTE'.<br>
* If 'ABSOLUTE' is specified, then navigatorTop|Left|Height|Width
determines the size and position of the navigator minimap in the viewer,
and navigatorSizeRatio and navigatorMaintainSizeRatio are ignored.<br>
* For 'TOP_LEFT', 'TOP_RIGHT', 'BOTTOM_LEFT', and 'BOTTOM_RIGHT',
the navigatorSizeRatio or navigatorHeight|Width values determine the
size of the navigator minimap.
*
* @property {Number} [navigatorSizeRatio=0.2]
* Ratio of navigator size to viewer size. Ignored if
navigatorHeight|Width are specified.
*
* @property {Boolean} [navigatorMaintainSizeRatio=false]
* If true, the navigator minimap is resized (using
navigatorSizeRatio) when the viewer size changes.
*
* @property {Number|String} [navigatorTop=null]
* Specifies the location of the navigator minimap (see
navigatorPosition).
*
* @property {Number|String} [navigatorLeft=null]
* Specifies the location of the navigator minimap (see
navigatorPosition).
*
* @property {Number|String} [navigatorHeight=null]
* Specifies the size of the navigator minimap (see
navigatorPosition).
* If specified, navigatorSizeRatio and navigatorMaintainSizeRatio
are ignored.
*
* @property {Number|String} [navigatorWidth=null]
* Specifies the size of the navigator minimap (see
navigatorPosition).
* If specified, navigatorSizeRatio and navigatorMaintainSizeRatio
are ignored.
Fixes #280 and #296
2013-12-13 09:23:56 -08:00
Antoine Vandecreme
c90a1edfb5
Add layer-level-changed event and add $.indexOf polyfill
2013-12-10 19:22:15 -05:00
Antoine Vandecreme
0c2af6550a
Add support to add/remove layers and change their levels.
2013-12-09 09:26:36 -05:00
Mark Salsbery
6b6b7f7625
Added ControlAnchor options for default controls
2013-12-06 22:48:49 -08:00
Mark Salsbery
7424bd328c
Documentation Update
2013-11-29 12:10:15 -08:00
Mark Salsbery
bb836768f8
Merged upstream changes, fixed conflicts
2013-11-26 10:21:59 -08:00
iangilman
ff32549c99
Merge pull request #292 from msalsbery/versioning
...
Added an OpenSeadragon.version property
2013-11-26 09:45:28 -08:00
Mark Salsbery
d8006e96c9
autoSize doc fixups
2013-11-25 12:10:19 -08:00
Mark Salsbery
12596b2ee5
Add jshint ignore directives to version
2013-11-25 12:02:43 -08:00
Mark Salsbery
f34fe1b6e5
Added @since doclet tag to OpenSeadragon.version
2013-11-25 11:51:36 -08:00
Mark Salsbery
2684f0ab3a
Added radix to parseInt()s
2013-11-25 10:44:34 -08:00
Mark Salsbery
7cb2f7cfd5
Updated Doclets
...
Botton fixes :)
2013-11-25 10:38:50 -08:00
Mark Salsbery
952fcca46e
Renamed noResizePolling to autoResize
2013-11-25 10:27:03 -08:00
Mark Salsbery
f0d6a5872f
OpenSeadragon.version property change
...
grunt property name changed to be more OpenSeadragon-specific
2013-11-25 09:30:49 -08:00
Mark Salsbery
2a1b797767
Modified OpenSeadragon.version property
...
Let grunt do more of the work!
2013-11-25 09:19:50 -08:00
Mark Salsbery
930e8c4dfd
Updated Doclets
2013-11-25 08:48:44 -08:00
Mark Salsbery
cb765afea2
Added an OpenSeadragon.version property
2013-11-23 10:39:37 -08:00
Mark Salsbery
190b4425ed
Renamed pollForResize to noResizePolling
...
Flipped truthiness...default of false is better for backward
compatibility
2013-11-23 08:21:08 -08:00
Mark Salsbery
c7971419e2
Added pollForResize option
...
Defaults to true.
2013-11-22 17:07:44 -08:00
Mark Salsbery
ece76925a6
Updated Doclets
...
Lots of changes, most notably event documentation (@event and @fires)
2013-11-21 12:19:07 -08:00
Mark Salsbery
b38823e390
Merged upstream changes
2013-11-20 20:39:06 -08:00
Mark Salsbery
ebb15936e1
Removed the 'onPageChange' callback ( #285 )
...
Fix for #285
Removed the 'onPageChange' callback from the viewer options.
Viewer.goToPage() now raises the 'page' event only.
2013-11-19 12:13:38 -08:00
Mark Salsbery
f23395b60e
Updated doclets
...
Misc changes.
Committing to merge upstream changes.
2013-11-19 11:20:45 -08:00
Mark Salsbery
09de239bfa
Updated doclets
...
Remaining creation options - still need descriptions on some.
Started event descriptions.
Viewer constructor parameters fixed.
2013-11-19 10:08:04 -08:00
Mark Salsbery
3e1e5321c1
Updated doclets
...
openseadragon.js doc fixups
2013-11-18 10:30:48 -08:00
Mark Salsbery
b929f26872
Updated doclets
...
Creation options now documented in a typedef doclet named
OpenSeadragon.Options.
2013-11-18 10:06:38 -08:00
Mark Salsbery
ccee9f5149
Updated doclets
...
Updated creation option defaults (issue #93 )
2013-11-18 09:44:54 -08:00
Mark Salsbery
70b91d57ec
Updated doclets for jsdoc3
...
Updated so jsdoc3 parser picks everything up.
Added event docs.
Lots of documentation content needed...
2013-11-15 22:19:53 -08:00
Mark Salsbery
7b0ba31487
Cleaned up some messy javascript
2013-11-11 13:33:27 -08:00
Antoine Vandecreme
fafc985ada
Merge branch 'master' of https://github.com/openseadragon/openseadragon into fullscreen
2013-11-08 13:40:04 -05:00
Antoine Vandecreme
d853224c15
Add units tests for scroll
2013-11-01 17:37:19 -04:00
Mark Salsbery
085c7f2ecb
Use canvas when available - Fixes
...
Updated documentation doclet.
Enclosed detection code in a function.
Eliminated the Drawer USE_CANVAS global and replaced it with a
Drawer.useCanvas instance variable.
2013-11-01 13:02:28 -07:00
Mark Salsbery
85fcf0ec11
Merge remote-tracking branch 'origin/master' into canvas-detect
...
Conflicts:
src/openseadragon.js
2013-11-01 12:22:48 -07:00
Mark Salsbery
e209846ac1
Use canvas whenever possible ( #191 )
...
Drawer uses an HTML5 canvas element if it's available.
Viewer.useCanvas can be used to override (default is true).
2013-11-01 10:19:47 -07:00
Antoine Vandecreme
7375ba9241
Fix scrolling when exiting full-screen mode.
...
Rename fullpage event to full-page and it's fullpage property to fullPage.
Add pre-full-page event.
2013-10-31 22:19:22 -04:00
Mark Salsbery
755c4752c0
'wheel' Event Support Fixes
...
Whitespace, cancel handling
2013-10-23 13:55:52 -07:00
Mark Salsbery
e76c9e65ab
Added 'wheel' Event Support
...
Also improved OpenSeadragon.addEvent()/OpenSeadragon.removeEvent()
2013-10-23 12:58:36 -07:00
Sharpbarb
7aac7ffd9c
Update openseadragon.js
...
Align initialPage value
2013-10-10 12:05:05 -07:00
Sharpbarb
81664251cc
Update openseadragon.js
...
Missing colon
2013-10-09 15:22:36 -07:00
Sharpbarb
fc972df52e
Update openseadragon.js
2013-10-08 14:53:08 -07:00
Ian Gilman
6396fe1504
Merge branch 'Original-Events-In-Handlers' of github.com:msalsbery/openseadragon into msalsbery-Original-Events-In-Handlers
...
Fixed Conflicts:
changelog.txt
2013-09-24 10:28:46 -07:00
Mark Salsbery
13415b36f3
MouseTracker Original Events in Handlers
...
Misc name changes, indentation/whitespace fixes.
Still TODO: Fix documentation, evaluate presence of key handler in a
mouse tracker, evaluate whether isTouchEvent flag should be in all
eventData objects or not.
2013-09-09 14:27:58 -07:00
Mark Salsbery
56f5b9fb74
MouseTracker Original Events in handlers
...
Comment & Formatting fixes
2013-09-06 10:43:39 -07:00
Mark Salsbery
b3fa8f1184
MouseTracker original events in handlers
...
Implemented "Expose original event in handlers" (#23 ) for MouseTracker
Added OpenSeadragon.getElementOffset() method. Element-relative mouse
coordinates should be correct even if the element and/or page is
scrolled (#131 )
2013-09-05 17:20:17 -07:00
Chris Adams
1b6cf93474
Graceful handling of IE cross-domain AJAX failures
...
Prior to IE 10, XmlHttpRequest cannot be used for requests to a
different origin even when the target URL's CORS headers would allow
access (see http://caniuse.com/#feat=cors ).
This is easy to miss in testing if you use a single origin during
testing but have a CDN or domain-sharding for production and will break
the error handler function passed to makeAjaxRequest() if that code
assumes it can access properties on the request object.
This adds a more informative pointer to Microsoft's documentation when a
security exception is raised.
2013-08-29 16:13:18 -04:00
Robert Hickman
54e8d8c43f
Fixes made after first code review of rotation.
2013-08-15 16:15:20 -06:00
Robert Hickman
b9583c43ac
Working on rotating images.
...
So far only 90 degree rotation is supported.
Only the image is currently being rotated.
Overlays, debugger, and the navigator still need to be updated to support rotation.
2013-08-13 16:32:04 -06:00
Ian Gilman
7391561dcd
OpenSeadragon.now() returned undefined the first time; fixed
2013-07-10 09:31:22 -07:00