git.wincent.com
/
hextrapolate.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d76fc
)
Silence a couple of lints
author
Greg Hurrell <greg@hurrell.net>
Sun, 2 Aug 2015 05:18:58 +0000
(22:18 -0700)
committer
Greg Hurrell <greg@hurrell.net>
Sun, 2 Aug 2015 05:18:58 +0000
(22:18 -0700)
src/Field.react.js
patch
|
blob
|
history
diff --git
a/src/Field.react.js
b/src/Field.react.js
index 31a0c9b77b90e9ba4d5341eba31d71f0dbbdd58d..ea757c52a06eb7a2ec37c9af5c57c845463253a7 100644
(file)
--- a/
src/Field.react.js
+++ b/
src/Field.react.js
@@
-69,14
+69,14
@@
export default class Field extends React.Component {
}
}
- _onCopy =
event
=> {
+ _onCopy =
()
=> {
const input = React.findDOMNode(this._input);
input.select();
try {
// May throw a SecurityError.
document.execCommand('copy');
- } catch(error) {
+ } catch(error) {
// eslint-disable-line no-empty
// Swallow.
}
}