mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 14:01:29 +00:00
upgrade Dojo to 1.6.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||||
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
@@ -9,6 +9,7 @@ if(!dojo._hasResource["dojo.fx.Toggler"]){ //_hasResource checks added by build.
|
||||
dojo._hasResource["dojo.fx.Toggler"] = true;
|
||||
dojo.provide("dojo.fx.Toggler");
|
||||
|
||||
|
||||
dojo.declare("dojo.fx.Toggler", null, {
|
||||
// summary:
|
||||
// A simple `dojo.Animation` toggler API.
|
||||
@@ -16,16 +17,16 @@ dojo.declare("dojo.fx.Toggler", null, {
|
||||
// description:
|
||||
// class constructor for an animation toggler. It accepts a packed
|
||||
// set of arguments about what type of animation to use in each
|
||||
// direction, duration, etc. All available members are mixed into
|
||||
// these animations from the constructor (for example, `node`,
|
||||
// `showDuration`, `hideDuration`).
|
||||
// direction, duration, etc. All available members are mixed into
|
||||
// these animations from the constructor (for example, `node`,
|
||||
// `showDuration`, `hideDuration`).
|
||||
//
|
||||
// example:
|
||||
// | var t = new dojo.fx.Toggler({
|
||||
// | node: "nodeId",
|
||||
// | showDuration: 500,
|
||||
// | // hideDuration will default to "200"
|
||||
// | showFunc: dojo.fx.wipeIn,
|
||||
// | showFunc: dojo.fx.wipeIn,
|
||||
// | // hideFunc will default to "fadeOut"
|
||||
// | });
|
||||
// | t.show(100); // delay showing for 100ms
|
||||
@@ -40,7 +41,7 @@ dojo.declare("dojo.fx.Toggler", null, {
|
||||
// The function that returns the `dojo.Animation` to show the node
|
||||
showFunc: dojo.fadeIn,
|
||||
|
||||
// hideFunc: Function
|
||||
// hideFunc: Function
|
||||
// The function that returns the `dojo.Animation` to hide the node
|
||||
hideFunc: dojo.fadeOut,
|
||||
|
||||
@@ -56,7 +57,7 @@ dojo.declare("dojo.fx.Toggler", null, {
|
||||
// time show/hide are called if we're stopped somewhere in the
|
||||
// middle.
|
||||
// FIXME: also would be nice to specify individual showArgs/hideArgs mixed into
|
||||
// each animation individually.
|
||||
// each animation individually.
|
||||
// FIXME: also would be nice to have events from the animations exposed/bridged
|
||||
|
||||
/*=====
|
||||
|
||||
Reference in New Issue
Block a user