@samitouri / QOS-React-2 / commits / ab00f8d15c

Removed "ajaxify" from DefaultDOMPropertyConfig

The `"ajaxify"` attribute is Facebook-specific and does not belong in this repo.

Andrew Zich committed Oct 1, 2013 at 13:32 UTC ab00f8d15cc00433e4ae67f9b3fe3b0254e2c059
2 files changed +3 -4
src/dom/DefaultDOMPropertyConfig.js
-1
@@ -36,7 +36,6 @@ var DefaultDOMPropertyConfig = {
36 accessKey: null,
37 accept: null,
38 action: null,
39 - ajaxify: MUST_USE_ATTRIBUTE,
39 allowFullScreen: MUST_USE_ATTRIBUTE | HAS_BOOLEAN_VALUE,
40 allowTransparency: MUST_USE_ATTRIBUTE,
41 alt: null,
src/dom/__tests__/DOMPropertyOperations-test.js
+3 -3
@@ -127,9 +127,9 @@ describe('DOMPropertyOperations', function() {
127 });
128
129 it('should set values as attributes if necessary', function() {
130 - DOMPropertyOperations.setValueForProperty(stubNode, 'ajaxify', '#');
131 - expect(stubNode.getAttribute('ajaxify')).toBe('#');
132 - expect(stubNode.ajaxify).toBeUndefined();
130 + DOMPropertyOperations.setValueForProperty(stubNode, 'role', '#');
131 + expect(stubNode.getAttribute('role')).toBe('#');
132 + expect(stubNode.role).toBeUndefined();
133 });
134
135 it('should remove for falsey boolean properties', function() {