Skip to content

Releases: wimbarelds/TimeCircles

IFrame bugfix, eventlistener fallback finetune

27 Jul 13:05
Compare
Choose a tag to compare

Fixed a bug that caused cross-domain iframes of TimeCircles to not work, apparently I had not fully removed all use of window.top as I had intended to.

Also fine-tuned the frequency at which the fallback for requestAnimationFrame is called (To still call the listeners when alt-tabbed or browsing another tab).

Background Callback fix

08 Jul 11:29
Compare
Choose a tag to compare

Fixed issue #58, callbacks not being triggered when not on foreground.

Version number update and json fix

07 Jul 23:40
Compare
Choose a tag to compare

If you have version 1.5.0, don't update to 1.5.1.

This version is for the sake of a bower.js json fix that makes no difference in actual use, only for bower.

Various updates and bugfixes

07 Jul 18:31
Compare
Choose a tag to compare
  • Added .addTime()
  • Fixed time when counting upwards using the ticking animation
  • Stopped using for(var key in obj), both for Objects and Arrays
  • Fixed that calling .stop() or .destroy() during a callback did not succesfully stop the timers
  • included option text-size (Thanks fragphace!)

Support for explorercanvas

21 May 21:45
Compare
Choose a tag to compare

This version adds support for explorercanvas.

I've had a few questions before about compatibility with IE8. There are javascript libraries that (try) to add canvas support to older browsers, but after actually trying to use one of them myself I found that it certainly did not work "out of the box". I made a number of changes in TimeCircles so that no special tricks or changes need to be made anymore in order to make TimeCircles work with explorercanvas.

So, as of right now, if you want TimeCircles to function in IE 8, download explorercanvas:

Link: https://code.google.com/p/explorercanvas/downloads/list

Then you can simply add:

    <!--[if lt IE 9]>
        <script type="text/javascript" src="path/excanvas.js"></script>
    <![endif]-->

In the head of your page. Do keep in mind, you'll have to change the path to match where you have placed the file.

iOS 6 bugfix

21 Apr 14:17
Compare
Choose a tag to compare

Some older browsers had vendor specific prefixes before the javascript requestAnimationFrame and cancelAnimationFrame functions. Previously only the requestAnimationFrame prefix were being checked for. As a result, it used the vendor prefix for requestAnimationFrame, but did not use it for cancelAnimationFrame.

Additionally, TimeCircles only checked if requestAnimationFrame was available- it did not check if cancelAnimationFrame was also available.

These problems has been fixed.

New animations

16 Feb 13:02
Compare
Choose a tag to compare

Changelog:

  • Make use of requestAnimationFrame.
  • Removed option update_interval
  • Added option animation (Default: "smooth", valid values: "smooth", "ticks")

Description
Now makes use of requestAnimationFrame, this means that- whatever the speed of your computer, animations should go smoother and the speed of the animation should adjust to what your computer can easily handle. This should make the animations marginally smoother, even on fast computers.

Added a new (optional) animation type. The current smooth moving circle remains the default, however you can now have them instead "tick" only when the number inside changes (so, only on whole seconds, minutes, hours and days). The option is called animation and valid values for it are "smooth" and "ticks".

I removed the option update_interval. The only reasons it was really being used (that I know of) was either to make it tick each second or to reduce the system resources used. Both of these should no longer be a good reason to use this option. Additionally, this option was not really easily compatible with the new options.

Though you might not notice it from use, quite a lot has changed internally. If you have any problems or experience strange behavior, please post an issue.

plugins.jquery.com update, no changes from 1.2.1

13 Feb 18:27
Compare
Choose a tag to compare

Fix to json manifest, only an update to get the plugins.jquery.com page updated- no functional changes from 1.2.1

Bug fixes from 1.2

12 Feb 21:25
Compare
Choose a tag to compare
  • Created a fallback in case of missing Canvas support (IE8), now shows text only (instead of nothing at all) when Canvas isn't supported.
  • Improved how total_duration works, as it was behaving incorrectly when config changes were made at a later time.

New release

07 Feb 20:16
Compare
Choose a tag to compare

I've updated the documentation to reflect all new functionality.

New in version 1.2.0 is the ability to change the direction in which the circles rotate, and their starting point.