feat(jqlite): support required as a no-value attribute

This commit is contained in:
Misko Hevery 2011-08-04 16:07:35 -07:00 committed by Igor Minar
parent 25a62b58db
commit ca08c004c8

View file

@ -237,7 +237,7 @@ var JQLitePrototype = JQLite.prototype = {
// these functions return self on setter and
// value on get.
//////////////////////////////////////////
var SPECIAL_ATTR = makeMap("multiple,selected,checked,disabled,readonly");
var SPECIAL_ATTR = makeMap("multiple,selected,checked,disabled,readonly,required");
forEach({
data: JQLiteData,