mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-21 09:51:29 +00:00
update dojo to 1.7.3
This commit is contained in:
@@ -1,40 +1,2 @@
|
||||
/*
|
||||
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
|
||||
*/
|
||||
|
||||
|
||||
if(!dojo._hasResource["dijit.form.DateTextBox"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
|
||||
dojo._hasResource["dijit.form.DateTextBox"] = true;
|
||||
dojo.provide("dijit.form.DateTextBox");
|
||||
dojo.require("dijit.Calendar");
|
||||
dojo.require("dijit.form._DateTimeTextBox");
|
||||
|
||||
|
||||
dojo.declare(
|
||||
"dijit.form.DateTextBox",
|
||||
dijit.form._DateTimeTextBox,
|
||||
{
|
||||
// summary:
|
||||
// A validating, serializable, range-bound date text box with a drop down calendar
|
||||
//
|
||||
// Example:
|
||||
// | new dijit.form.DateTextBox({value: new Date(2009, 0, 20)})
|
||||
//
|
||||
// Example:
|
||||
// | <input dojotype='dijit.form.DateTextBox' value='2009-01-20'>
|
||||
|
||||
baseClass: "dijitTextBox dijitComboBox dijitDateTextBox",
|
||||
popupClass: "dijit.Calendar",
|
||||
_selector: "date",
|
||||
|
||||
// value: Date
|
||||
// The value of this widget as a JavaScript Date object, with only year/month/day specified.
|
||||
// If specified in markup, use the format specified in `dojo.date.stamp.fromISOString`.
|
||||
// set("value", ...) accepts either a Date object or a string.
|
||||
value: new Date("") // value.toString()="NaN"
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
//>>built
|
||||
define("dijit/form/DateTextBox",["dojo/_base/declare","../Calendar","./_DateTimeTextBox"],function(_1,_2,_3){return _1("dijit.form.DateTextBox",_3,{baseClass:"dijitTextBox dijitComboBox dijitDateTextBox",popupClass:_2,_selector:"date",value:new Date("")});});
|
||||
Reference in New Issue
Block a user