Skip to content

Commit

Permalink
Version 1.1.0 release..
Browse files Browse the repository at this point in the history
  • Loading branch information
sachinchoolur committed Dec 30, 2015
1 parent 676b98e commit 833edf8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 14 deletions.
4 changes: 2 additions & 2 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngclipboard",
"version": "1.0.0",
"version": "1.1.0",
"homepage": "https://github.com/sachinchoolur/ngclipboard",
"authors": [
"Sachin N <[email protected]>"
Expand All @@ -15,7 +15,7 @@
"angularjs"
],
"dependencies": {
"clipboard": "^1.0.0",
"clipboard": "~1.5.5",
"angular": ">=1.2.0"
},
"ignore": [
Expand Down
11 changes: 2 additions & 9 deletions dist/ngclipboard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! ngclipboard - v1.0.0 - 2015-12-08
/*! ngclipboard - v1.1.0 - 2015-12-30
* https://github.com/sachinchoolur/ngclipboard
* Copyright (c) 2015 Sachin; Licensed MIT */
(function() {
Expand All @@ -23,14 +23,7 @@
ngclipboardError: '&'
},
link: function(scope, element) {

var _id = element.attr('id');
if (!_id) {
element.attr('id', 'ngclipboard' + Date.now());
_id = element.attr('id');
}

var clipboard = new Clipboard('#' + _id);
var clipboard = new Clipboard(element[0]);

clipboard.on('success', function(e) {
scope.ngclipboardSuccess({
Expand Down
4 changes: 2 additions & 2 deletions dist/ngclipboard.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngclipboard",
"version": "1.0.0",
"version": "1.1.0",
"description": "Angularjs directive for clipboard.js",
"keywords": [
"ngclipboard",
Expand Down Expand Up @@ -28,6 +28,10 @@
"scripts": {
"test": "grunt"
},
"dependencies": {
"clipboard": "~1.5.5",
"angular": ">=1.2.0"
},
"devDependencies": {
"grunt": "^0.4.5",
"grunt-contrib-clean": "^0.6.0",
Expand Down

0 comments on commit 833edf8

Please sign in to comment.