1 /* ************************************************************************
3 qooxdoo - the new era of web development
8 2004-2006 by 1&1 Internet AG, Germany, http://www.1and1.org
11 LGPL 2.1: http://www.gnu.org/licenses/lgpl.html
14 * Sebastian Werner (wpbasti)
15 * Andreas Ecker (ecker)
17 ************************************************************************ */
19 /* ************************************************************************
23 ************************************************************************ */
25 qx.OO.defineClass("qx.util.Return");
32 ---------------------------------------------------------------------------
34 ---------------------------------------------------------------------------
37 qx.util.Return.returnTrue = function() {
41 qx.util.Return.returnFalse = function() {
45 qx.util.Return.returnNull = function() {
49 qx.util.Return.returnThis = function() {
53 qx.util.Return.returnInstance = function()
57 this._instance = new this;
60 if (this._instance.debug) {
61 this._instance.debug("Created...");
65 return this._instance;
68 qx.util.Return.returnZero = function() {
72 qx.util.Return.returnNegativeIndex = function() {