File tree Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Expand file tree Collapse file tree 2 files changed +0
-12
lines changed Original file line number Diff line number Diff line change 88 */
99
1010import {
11- ID_ATTRIBUTE_NAME ,
1211 ROOT_ATTRIBUTE_NAME ,
1312 BOOLEAN ,
1413 OVERLOADED_BOOLEAN ,
@@ -24,16 +23,6 @@ import quoteAttributeValueForBrowser from './quoteAttributeValueForBrowser';
2423 * Operations for dealing with DOM properties.
2524 */
2625
27- /**
28- * Creates markup for the ID property.
29- *
30- * @param {string } id Unescaped ID.
31- * @return {string } Markup string.
32- */
33- export function createMarkupForID ( id : string ) : string {
34- return ID_ATTRIBUTE_NAME + '=' + quoteAttributeValueForBrowser ( id ) ;
35- }
36-
3726export function createMarkupForRoot ( ) : string {
3827 return ROOT_ATTRIBUTE_NAME + '=""' ;
3928}
Original file line number Diff line number Diff line change @@ -62,7 +62,6 @@ export const ATTRIBUTE_NAME_START_CHAR =
6262export const ATTRIBUTE_NAME_CHAR =
6363 ATTRIBUTE_NAME_START_CHAR + '\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040' ;
6464
65- export const ID_ATTRIBUTE_NAME = 'data-reactid' ;
6665export const ROOT_ATTRIBUTE_NAME = 'data-reactroot' ;
6766export const VALID_ATTRIBUTE_NAME_REGEX = new RegExp (
6867 '^[' + ATTRIBUTE_NAME_START_CHAR + '][' + ATTRIBUTE_NAME_CHAR + ']*$' ,
You can’t perform that action at this time.
0 commit comments