diff --git a/src/JSONPretty.js b/src/JSONPretty.js index 571408b..223a90a 100644 --- a/src/JSONPretty.js +++ b/src/JSONPretty.js @@ -10,6 +10,8 @@ var React = require('react'); var createReactClass = require('create-react-class'); module.exports = createReactClass({ + displayName: 'exports', + // 格式化函数 _replace: function _replace(match, ind, key, val, tra) { var spanEnd = '';