From ab00f8d15cc00433e4ae67f9b3fe3b0254e2c059 Mon Sep 17 00:00:00 2001 From: Andrew Zich Date: Tue, 1 Oct 2013 13:32:35 -0700 Subject: [PATCH] Removed "ajaxify" from DefaultDOMPropertyConfig The `"ajaxify"` attribute is Facebook-specific and does not belong in this repo. --- src/dom/DefaultDOMPropertyConfig.js | 1 - src/dom/__tests__/DOMPropertyOperations-test.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/dom/DefaultDOMPropertyConfig.js b/src/dom/DefaultDOMPropertyConfig.js index 6e6c4af929..5c9f16b3c0 100644 --- a/src/dom/DefaultDOMPropertyConfig.js +++ b/src/dom/DefaultDOMPropertyConfig.js @@ -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, diff --git a/src/dom/__tests__/DOMPropertyOperations-test.js b/src/dom/__tests__/DOMPropertyOperations-test.js index 5f558d1300..25adde6809 100644 --- a/src/dom/__tests__/DOMPropertyOperations-test.js +++ b/src/dom/__tests__/DOMPropertyOperations-test.js @@ -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() {