Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 21a43a7

Browse files
committed
for CI and eslint
1 parent 1d96f18 commit 21a43a7

File tree

4 files changed

+21
-9
lines changed

4 files changed

+21
-9
lines changed

‎dist/demo.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29817,12 +29817,16 @@ function(module, exports, __webpack_require__) {
2981729817
className: className,
2981829818
style: imageStyle,
2981929819
onClick: this._onClick
29820-
}, this.props.children);
29820+
}, _react2["default"].createElement("span", {
29821+
style: {
29822+
opacity: "0"
29823+
}
29824+
}, this.props.children));
2982129825
}
2982229826
}, {
2982329827
key: "_onClick",
2982429828
value: function() {
29825-
console.log("image click");
29829+
console.log("image clicked");
2982629830
}
2982729831
}, {
2982829832
key: "_handleResize",

‎dist/react-rte.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29937,13 +29937,17 @@ module.exports =
2993729937
style: imageStyle,
2993829938
onClick: this._onClick
2993929939
},
29940-
this.props.children
29940+
_react2.default.createElement(
29941+
'span',
29942+
{ style: { opacity: '0' } },
29943+
this.props.children
29944+
)
2994129945
);
2994229946
}
2994329947
}, {
2994429948
key: '_onClick',
2994529949
value: function _onClick() {
29946-
console.log('image click');
29950+
console.log('image clicked');
2994729951
}
2994829952
}, {
2994929953
key: '_handleResize',

‎lib/ui/ImageSpan.js‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,17 @@ var ImageSpan = function (_Component) {
123123
style: imageStyle,
124124
onClick: this._onClick
125125
},
126-
this.props.children
126+
_react2.default.createElement(
127+
'span',
128+
{ style: { opacity: '0' } },
129+
this.props.children
130+
)
127131
);
128132
}
129133
}, {
130134
key: '_onClick',
131135
value: function _onClick() {
132-
console.log('image click');
136+
console.log('image clicked');
133137
}
134138
}, {
135139
key: '_handleResize',

‎webpack.config.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ module.exports = [{
4040
module: {loaders: loaders},
4141
plugins: [
4242
new webpack.DefinePlugin({
43-
"process.env": {
44-
NODE_ENV: JSON.stringify("production")
45-
}
43+
'process.env': {
44+
NODE_ENV: JSON.stringify('production'),
45+
},
4646
}),
4747
new webpack.optimize.UglifyJsPlugin({
4848
beautify: true,

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /