dforrestca
03-05-2007, 08:46 PM
The following code shows up in the label text entry field for a date element after saving it and re-ediiting:
< length; i++) { iterator(this[i]); } }; clear:function () { this.length = 0; return this; }; first:function () { return this[0]; }; last:function () { return this[this.length - 1]; }; compact:function () { return this.select(function (value) {return value != null;}); }; flatten:function () { return this.inject([], function (array, value) {return array.concat(value && value.constructor == Array ? value.flatten() : [value]);}); }; without:function () { var values = $A(arguments); return this.select(function (value) {return !values.include(value);}); }; reduce:function () { return this.length > 1 ? this : this[0]; }; uniq:function () { return this.inject([], function (array, value) {return array.include(value) ? array : array.concat([value]);}); }; clone:function () { return [].concat(this); }; call:function () { var args = arguments; this.each(function (f) {f.apply(this, args);}); }" i="0;" {found="true;throw" (value="=" found="false;" results="[];" {result="value;throw" collections="[this].concat(args).map($A);" iterator="Prototype.K," args.last()="=" args="$A(arguments);" value="">< this.length; i++) { iterator(this[i]); } }; clear:function () { this.length = 0; return this; }; first:function () { return this[0]; }; last:function () { return this[this.length - 1]; }; compact:function () { return this.select(function (value) {return value != undefined || value != null;}); }; flatten:function () { return this.inject([], function (array, value) {return array.concat(value && value.constructor == Array ? value.flatten() : [value]);}); }; without:function () { var values = $A(arguments); return this.select(function (value) {return !values.include(value);}); }; call:function () { var args = arguments; this.each(function (f) {f.apply(this, args);}); }" i="0;" {found="true;throw" (value="=" found="false;" results="[];" {result="value;throw" collections="[this].concat(args).map($A);" iterator="Prototype.K," args.last()="=" args="$A(arguments);" value="">Date:
< length; i++) { iterator(this[i]); } }; clear:function () { this.length = 0; return this; }; first:function () { return this[0]; }; last:function () { return this[this.length - 1]; }; compact:function () { return this.select(function (value) {return value != null;}); }; flatten:function () { return this.inject([], function (array, value) {return array.concat(value && value.constructor == Array ? value.flatten() : [value]);}); }; without:function () { var values = $A(arguments); return this.select(function (value) {return !values.include(value);}); }; reduce:function () { return this.length > 1 ? this : this[0]; }; uniq:function () { return this.inject([], function (array, value) {return array.include(value) ? array : array.concat([value]);}); }; clone:function () { return [].concat(this); }; call:function () { var args = arguments; this.each(function (f) {f.apply(this, args);}); }" i="0;" {found="true;throw" (value="=" found="false;" results="[];" {result="value;throw" collections="[this].concat(args).map($A);" iterator="Prototype.K," args.last()="=" args="$A(arguments);" value="">< this.length; i++) { iterator(this[i]); } }; clear:function () { this.length = 0; return this; }; first:function () { return this[0]; }; last:function () { return this[this.length - 1]; }; compact:function () { return this.select(function (value) {return value != undefined || value != null;}); }; flatten:function () { return this.inject([], function (array, value) {return array.concat(value && value.constructor == Array ? value.flatten() : [value]);}); }; without:function () { var values = $A(arguments); return this.select(function (value) {return !values.include(value);}); }; call:function () { var args = arguments; this.each(function (f) {f.apply(this, args);}); }" i="0;" {found="true;throw" (value="=" found="false;" results="[];" {result="value;throw" collections="[this].concat(args).map($A);" iterator="Prototype.K," args.last()="=" args="$A(arguments);" value="">Date: