clipboard-dom
Advanced tools
Comparing version 0.0.4 to 0.0.5
{ | ||
"name": "clipboard-dom", | ||
"description": "Makes a DOM element (i.e. <button>) write to the system clipboard", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"keywords": [ | ||
@@ -6,0 +6,0 @@ "copy", |
0.0.5 / 2014-06-16 | ||
================== | ||
* fixing bug in `reposition` | ||
* `swf` method now chainable | ||
0.0.2 / 2012-09-04 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -31,3 +31,4 @@ | ||
} else { | ||
return swfPath = path; | ||
swfPath = path; | ||
return Client; | ||
} | ||
@@ -141,2 +142,4 @@ } | ||
this.appendElement = appendElem; | ||
// find X/Y position of domElement | ||
@@ -229,3 +232,3 @@ var box = getDOMObjectPosition(this.domElement, appendElem); | ||
if (this.domElement && this.div) { | ||
var box = getDOMObjectPosition(this.domElement); | ||
var box = getDOMObjectPosition(this.domElement, this.appendElement); | ||
var style = this.div.style; | ||
@@ -232,0 +235,0 @@ style.left = '' + box.left + 'px'; |
{ | ||
"name": "clipboard-dom", | ||
"description": "Copy-to-Clipboard on a DOM element", | ||
"keywords": ["copy", "clipboard", "text", "click", "dom", "button"], | ||
"version": "0.0.4", | ||
"keywords": [ | ||
"copy", | ||
"clipboard", | ||
"text", | ||
"click", | ||
"dom", | ||
"button" | ||
], | ||
"version": "0.0.5", | ||
"dependencies": { | ||
@@ -12,7 +19,13 @@ "classes-component": "*", | ||
"component": { | ||
"files": ["ZeroClipboard.swf"], | ||
"files": [ | ||
"ZeroClipboard.swf" | ||
], | ||
"scripts": { | ||
"clipboard-dom": "index.js" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/component/clipboard-dom.git" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
15355
323
0
0