Skip to content

Commit

Permalink
Move to /samples/
Browse files Browse the repository at this point in the history
  • Loading branch information
Inndy committed Sep 15, 2018
1 parent a264653 commit b1335e1
Show file tree
Hide file tree
Showing 13 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
node_modules
sample-app
sample.html
sample2.html
samples
yarn.lock
.editorconfig
Makefile
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ For standalone usage:
## I want to copy texts without a specific button!

Yes, you can do it by using our new method: `this.$copyText`. See
[sample2](https://github.com/Inndy/vue-clipboard2/blob/master/sample2.html),
[sample2](https://github.com/Inndy/vue-clipboard2/blob/master/samples/sample2.html),
where we replace the clipboard directives with a v-on directive.

Modern browsers have some limitations like that you can't use `window.open` without a user interaction.
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sample.html → samples/sample.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>vue-clipboard2 sample app</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.2.6/vue.js"></script>
<script src="dist/vue-clipboard.js"></script>
<script src="../dist/vue-clipboard.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down
2 changes: 1 addition & 1 deletion sample2.html → samples/sample2.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>vue-clipboard2 sample app</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.2.6/vue.js"></script>
<script src="dist/vue-clipboard.js"></script>
<script src="../dist/vue-clipboard.js"></script>
</head>
<body>
<div id="app"></div>
Expand Down

0 comments on commit b1335e1

Please sign in to comment.