[change] Clipboard.isSupported -> Clipboard.isAvailable

Rename this method to be consistent with AppState.isAvailable
This commit is contained in:
Nicolas Gallagher
2017-06-20 16:10:29 -07:00
parent 9e9ab78130
commit 4865c7bcce
+1 -1
View File
@@ -11,7 +11,7 @@
*/
export default class Clipboard {
static isSupported() {
static isAvailable() {
return (
typeof document.queryCommandSupported === 'function' && document.queryCommandSupported('copy')
);