mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Make new perf unit test pass
This commit is contained in:
1 parent
47de0a8ce6
commit
7938650ca9
8 files changed
+40
-5
No files matched your search
@@ -13,6 +13,7 @@
|
||||
'use strict';
|
||||
|
||||
var DOMProperty = require('DOMProperty');
|
||||
var ReactPerf = require('ReactPerf');
|
||||
|
||||
var quoteAttributeValueForBrowser = require('quoteAttributeValueForBrowser');
|
||||
var warning = require('warning');
|
||||
@@ -247,4 +248,10 @@ var DOMPropertyOperations = {
|
||||
|
||||
};
|
||||
|
||||
ReactPerf.measureMethods(DOMPropertyOperations, 'DOMPropertyOperations', {
|
||||
setValueForProperty: 'setValueForProperty',
|
||||
setValueForAttribute: 'setValueForAttribute',
|
||||
deleteValueForProperty: 'deleteValueForProperty',
|
||||
});
|
||||
|
||||
module.exports = DOMPropertyOperations;
|
||||
Reference in new issue
Block a user