Skip to content

Commit

Permalink
Change copy to clipboard library
Browse files Browse the repository at this point in the history
  • Loading branch information
Pangssu authored and LianaHus committed Feb 20, 2019
1 parent 1136ffd commit a8f1b83
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"babelify": "^7.3.0",
"brace": "^0.8.0",
"browserify-reload": "^1.0.3",
"clipboard-copy": "^1.2.0",
"component-type": "^1.2.1",
"copy-text-to-clipboard": "^1.0.4",
"csjs-inject": "^1.0.1",
"csslint": "^1.0.2",
"deep-equal": "^1.0.1",
Expand Down
2 changes: 1 addition & 1 deletion src/app/debugger/debuggerUI/vmDebugger/DropdownPanel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'
var yo = require('yo-yo')
const copy = require('clipboard-copy')
const copy = require('copy-text-to-clipboard')
var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
var TreeView = require('../../../ui/TreeView') // TODO setup a direct reference to the UI components
Expand Down
2 changes: 1 addition & 1 deletion src/app/tabs/compile-tab.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* global Worker */
const yo = require('yo-yo')
const csjs = require('csjs-inject')
const copy = require('clipboard-copy')
const copy = require('copy-text-to-clipboard')
var minixhr = require('minixhr')
var tooltip = require('../ui/tooltip')
var QueryParams = require('../../lib/query-params')
Expand Down
4 changes: 2 additions & 2 deletions src/app/ui/copy-to-clipboard.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var yo = require('yo-yo')
// -------------- copyToClipboard ----------------------
const copy = require('clipboard-copy')
const copy = require('copy-text-to-clipboard')
var addTooltip = require('./tooltip')
// -------------- styling ----------------------
var csjs = require('csjs-inject')
Expand Down Expand Up @@ -39,4 +39,4 @@ module.exports = function copyToClipboard (getContent, tip = 'Copy value to clip
}
}
return copyIcon
}
}

0 comments on commit a8f1b83

Please sign in to comment.