Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
fixes spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
kritzcreek committed Jan 2, 2018
1 parent 156decc commit a34342c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@
Copy
</button>
<div>
<input id="input-selector" type="text" value="Copy me!" />
<button id="input-button-selector" type="button">
Copy Text in Input
</button>
<input id="input-selector" type="text" value="Copy me!" />
<button id="input-button-selector" type="button">
Copy Text in Input
</button>
</div>
</form>
</body>
Expand Down
14 changes: 7 additions & 7 deletions src/Clipboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ exports.fromStringSelector = makeFromX(function makeFromX$fromStringSelector (ef
};
});

exports.fromElementWithTarget = function (el){
return function(targetSelector) {
return function() {
return new Clipboard(el, {
target: targetSelector
});
};
exports.fromElementWithTarget = function (el) {
return function(targetSelector) {
return function() {
return new Clipboard(el, {
target: targetSelector
});
};
};
};


Expand Down

0 comments on commit a34342c

Please sign in to comment.