=> Unsupported uglify

This commit is contained in:
Jean-Baptiste Dominguez 2018-07-17 18:37:46 +09:00
commit e18e446eef

View file

@ -29,10 +29,10 @@ angular.module('copayApp.services').factory('clipboardService', function ($http,
cb(nodeWebkitService.readFromClipboard()); cb(nodeWebkitService.readFromClipboard());
} else { } else {
navigator.clipboard.readText() navigator.clipboard.readText()
.then(text => { .then(function (text) {
cb(text); cb(text);
}) })
.catch(err => { .catch(function (err) {
$log.debug("Clipboard reading is not supported in browser.."); $log.debug("Clipboard reading is not supported in browser..");
}); });