Ian Gilman
e731c850b5
Changelog for #144
2013-06-26 09:24:55 -07:00
iangilman
f4139cef38
Merge pull request #144 from acdha/143-xhr-error-handling
...
Safe cleanup in makeAjaxRequest error handler
2013-06-26 09:23:04 -07:00
Ian Gilman
ae3c68a646
Added changelog for #142
2013-06-26 09:15:48 -07:00
Ian Gilman
3f1072b321
Fixed typos in comments
2013-06-26 09:15:37 -07:00
iangilman
1df4448be7
Merge pull request #142 from blind-coder/master
...
Fix for calculating overlay width / height
2013-06-26 09:13:31 -07:00
Chris Adams
f2cba16a8b
Safe cleanup in makeAjaxRequest error handler
...
Previously `request.onreadystatechange` was assigned an empty function
on success but null on failures, which breaks in IE (see
http://jsbin.com/ezozax/6/ ).
This patch simply mimics the success behaviour in the cleanup function
Closes #143
2013-06-25 14:13:45 -04:00
Benjamin 'blindCoder' Schieder
0150622e78
fix error when recalculating overlay width and height
2013-06-25 18:01:38 +02:00
Ian Gilman
9cbda1bd8f
Updated changelog for #138
2013-06-21 09:30:45 -07:00
iangilman
67e588b513
Merge pull request #141 from felizuno/now2
...
Implementing the new OpenSeadragon.now()
2013-06-21 09:28:37 -07:00
Kevin Ewing
8896c2278d
Fixed mistake
2013-06-20 13:31:04 -07:00
Kevin Ewing
2ba3acda38
Removed extra parens
2013-06-20 13:23:16 -07:00
Kevin Ewing
248852c15f
Implementing OpenSeadragon.now()
...
Replacing both `+new Date()` and `new Date().getTime()` with `$.now()`
2013-06-20 13:15:04 -07:00
Ian Gilman
e8b7b2375e
Updated changelog for #51
2013-06-20 10:34:33 -07:00
iangilman
6e9a300d1a
Merge pull request #133 from iangilman/raf
...
Improved requestAnimationFrame polyfill; fixed timer leaks; added tests
2013-06-20 09:52:10 -07:00
iangilman
2e49d793e8
Merge pull request #140 from felizuno/now
...
Added OpenSeadragon.now() (#138 )
2013-06-20 09:26:46 -07:00
iangilman
57d438cf88
Merge pull request #51 from acdha/generate-source-maps
...
Generate source maps
2013-06-20 09:25:30 -07:00
Kevin Ewing
0984106983
Added missing semicolon
2013-06-20 09:08:21 -07:00
Kevin Ewing
a469a1dae7
Merge branch 'master' into now
2013-06-19 15:39:06 -07:00
Kevin Ewing
2f8a26fda0
Responding to feedback
...
Function now re-assigns itself on the first go round to avoid doing the
check every time it is called
2013-06-19 15:13:56 -07:00
Ian Gilman
e0282a3c86
Stripped whitespace
2013-06-19 13:33:01 -07:00
Ian Gilman
0b5ddd0d55
Merge branch 'master' into raf
2013-06-19 11:52:13 -07:00
Ian Gilman
91c733551f
Added trim_trailing_white_space_on_save to Sublime project
2013-06-19 11:51:49 -07:00
Chris Adams
3c66c3b8e2
Update to grunt-contrib-uglify 0.2.2
2013-06-19 14:30:44 -04:00
Chris Adams
b87de8e6c6
Grunt: normalize build paths
...
The sourcemaps included build/openseadragon/ in the paths. Since grunt
lacks a standard way to replace text in files, I semi-randomly picked
grunt-text-replace.
2013-06-19 14:29:40 -04:00
Chris Adams
ae881689ec
Strip build prefix from sourceMappingURL (see #51 )
...
Previously the sourceMappingURL would be prefixed with
"build/openseadragon/"
2013-06-19 14:29:40 -04:00
Chris Adams
6e074188d4
Grunt: generate source maps when compressing
2013-06-19 14:29:40 -04:00
Kevin Ewing
ebffea5a34
Merge branch 'master' into now
2013-06-19 11:23:42 -07:00
Ian Gilman
8e88f36098
Merge branch 'master' into raf
...
Fixed Conflicts:
src/viewer.js
2013-06-19 11:19:54 -07:00
Kevin Ewing
e8408c1313
Moved to better location
2013-06-19 11:16:45 -07:00
iangilman
b7eec5d60a
Merge pull request #139 from acdha/whitespace-eradication
...
Strip trailing whitespace (see #136 )
2013-06-19 11:12:43 -07:00
Kevin Ewing
6a3b7cfb2f
Added OpenSeadragon.now()
2013-06-19 10:57:09 -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
2c2d1486cd
Added changelog for #133
2013-06-19 10:16:59 -07:00
Ian Gilman
beadcdcc89
Merge branch 'master' into raf
2013-06-19 10:15:53 -07:00
Ian Gilman
91e4edafd0
Updated changelog for #135
2013-06-19 10:14:49 -07:00
iangilman
c14467afa4
Merge pull request #135 from robhobbes/master
...
Only disable the previous button if the navPrevNextWrap option is not set
2013-06-19 10:12:38 -07:00
Ian Gilman
4022206261
Removed the parens around new Date call, for consistency
2013-06-19 10:03:44 -07:00
Ian Gilman
2e48239056
Addressing code review comments
2013-06-19 09:58:22 -07:00
Ian Gilman
dbc8a59ae8
Cleaned out dead code in scheduleUpdate and updateMulti
...
… as pointed out by @ventero
2013-06-19 09:58:09 -07:00
Robert Hickman
ade93ffc5e
Only disable the previous button if the navPrevNextWrap option is not set.
2013-06-18 15:19:09 -06: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
Ian Gilman
713fad4224
Exposing _updateRequestId as a semi-private member for testing purposes
2013-06-18 11:06:43 -07:00
Ian Gilman
e99c126a85
Navigator now updates properly when reopening a viewer
...
Before, if you closed a viewer and then opened a new tilesource into
it, the navigator would still have the old tilesource. This patch fixes
that.
2013-06-17 11:51:02 -07:00
Ian Gilman
c6a38dd802
Now closing the navigator when the viewer closes
...
At the very least this was causing the navigator to continue to request
and process frames even after its viewer had been closed.
2013-06-17 11:31:41 -07:00
Ian Gilman
4224960252
Fixed another potential timer leak when closing a viewer
...
If the viewer was closed in response to an event raised during the
update function, the timer would have continued running.
2013-06-17 11:30:31 -07:00
Ian Gilman
0112f6a4ea
Improved requestAnimationFrame polyfill
...
Processes all outstanding frame requests per frame, rather than one at
a time.
2013-06-17 11:28:42 -07:00
Ian Gilman
ccbef38297
Started next version in changelog
2013-06-17 10:05:10 -07:00
Ian Gilman
2103121209
Changed version number to 0.9.128
2013-06-17 10:03:06 -07:00