cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Grzegorz Kossakowski (JIRA)" <j...@apache.org>
Subject [jira] Closed: (COCOON-2059) ajax/common.js makes use of deprecated dojo.animation.Timer
Date Sat, 07 Jul 2007 12:59:04 GMT

     [ https://issues.apache.org/jira/browse/COCOON-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Grzegorz Kossakowski closed COCOON-2059.
----------------------------------------

    Resolution: Fixed

Applied in r554196. Please cross check and reopen if something is wrong.


> ajax/common.js makes use of deprecated dojo.animation.Timer
> -----------------------------------------------------------
>
>                 Key: COCOON-2059
>                 URL: https://issues.apache.org/jira/browse/COCOON-2059
>             Project: Cocoon
>          Issue Type: Bug
>          Components: Blocks: Ajax
>    Affects Versions: 2.1.11-dev (Current SVN), 2.2-dev (Current SVN)
>            Reporter: Alexander Klimetschek
>            Assignee: Grzegorz Kossakowski
>
> Following code uses deprecated stuff from dojo 0.4.1:
>     periodicalUpdate: function(delay, href, target, insertion) {
>         dojo.require("dojo.animation.Timer");
>         var timer = new dojo.animation.Timer(delay);
>         timer.onTick = function() {
>         ....
> Dojo in debug mode says: DEPRECATED: dojo.animation.Timer is now dojo.lang.timing.Timer
0.5
> To fix that, one should simply use:
>     periodicalUpdate: function(delay, href, target, insertion) {
>         dojo.require("dojo.lang.timing.Timer");
>         var timer = new dojo.lang.timing.Timer(delay);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message