Removed "ajaxify" from DefaultDOMPropertyConfig

The `"ajaxify"` attribute is Facebook-specific and does not belong in this repo.
This commit is contained in:
Andrew Zich
2013-10-01 13:34:26 -07:00
committed by Paul O’Shannessy
parent 58de758a32
commit ab00f8d15c
2 changed files with 3 additions and 4 deletions
-1
View File
@@ -36,7 +36,6 @@ var DefaultDOMPropertyConfig = {
accessKey: null,
accept: null,
action: null,
ajaxify: MUST_USE_ATTRIBUTE,
allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
allowTransparency: MUST_USE_ATTRIBUTE,
alt: null,
@@ -127,9 +127,9 @@ describe('DOMPropertyOperations', function() {
});
it('should set values as attributes if necessary', function() {
DOMPropertyOperations.setValueForProperty(stubNode, 'ajaxify', '#');
expect(stubNode.getAttribute('ajaxify')).toBe('#');
expect(stubNode.ajaxify).toBeUndefined();
DOMPropertyOperations.setValueForProperty(stubNode, 'role', '#');
expect(stubNode.getAttribute('role')).toBe('#');
expect(stubNode.role).toBeUndefined();
});
it('should remove for falsey boolean properties', function() {