Release v1.5.1

This commit is contained in:
Zeno Rocha 2015-10-27 09:32:43 -07:00
parent 42a459402c
commit 171f438f22
5 changed files with 8 additions and 9 deletions

View File

@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "1.5.0",
"version": "1.5.1",
"description": "Modern copy to clipboard. No Flash. Just 2kb",
"license": "MIT",
"main": "dist/clipboard.js",

5
dist/clipboard.js vendored
View File

@ -1,5 +1,5 @@
/*!
* clipboard.js v1.5.0
* clipboard.js v1.5.1
* https://zenorocha.github.io/clipboard.js
*
* Licensed MIT © Zeno Rocha
@ -259,8 +259,7 @@ function select(element) {
var selectedText;
if (element.nodeName === 'INPUT' || element.nodeName === 'TEXTAREA') {
element.selectionStart = 0;
element.selectionEnd = element.value.length;
element.select();
selectedText = element.value;
}

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
Package.describe({
name: "zenorocha:clipboard",
summary: "Modern copy to clipboard. No Flash. Just 2kb.",
version: "1.5.0",
version: "1.5.1",
git: "https://github.com/zenorocha/clipboard.js"
});

View File

@ -1,6 +1,6 @@
{
"name": "clipboard",
"version": "1.5.0",
"version": "1.5.1",
"description": "Modern copy to clipboard. No Flash. Just 2kb",
"repository": "zenorocha/clipboard.js",
"license": "MIT",
@ -25,7 +25,7 @@
"babelify": "^6.3.0",
"browserify": "^11.2.0",
"good-listener": "^1.1.2",
"select": "^1.0.3",
"select": "^1.0.4",
"tiny-emitter": "^1.0.0"
},
"devDependencies": {