diff --git a/.npmignore b/.npmignore index 0899475..f490e88 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,5 @@ /.*/ -/example/ +/demo/ /test/ /.* /bower.json diff --git a/bower.json b/bower.json index af62958..dff8561 100644 --- a/bower.json +++ b/bower.json @@ -6,7 +6,7 @@ "main": "dist/clipboard.js", "ignore": [ "/.*/", - "/example/", + "/demo/", "/test/", "/.*", "/bower.json", diff --git a/demo/constructor-node.html b/demo/constructor-node.html new file mode 100644 index 0000000..f84857a --- /dev/null +++ b/demo/constructor-node.html @@ -0,0 +1,28 @@ + + + + + constructor-node + + + + + + + + + + + + diff --git a/demo/constructor-nodelist.html b/demo/constructor-nodelist.html new file mode 100644 index 0000000..a784d2a --- /dev/null +++ b/demo/constructor-nodelist.html @@ -0,0 +1,30 @@ + + + + + constructor-nodelist + + + + + + + + + + + + + + diff --git a/demo/constructor-selector.html b/demo/constructor-selector.html new file mode 100644 index 0000000..137116d --- /dev/null +++ b/demo/constructor-selector.html @@ -0,0 +1,29 @@ + + + + + constructor-selector + + + + + + + + + + + + + + diff --git a/demo/function-target.html b/demo/function-target.html new file mode 100644 index 0000000..ee85c55 --- /dev/null +++ b/demo/function-target.html @@ -0,0 +1,32 @@ + + + + + function-target + + + + +
hello
+ + + + + + + + diff --git a/demo/function-text.html b/demo/function-text.html new file mode 100644 index 0000000..55fefe5 --- /dev/null +++ b/demo/function-text.html @@ -0,0 +1,31 @@ + + + + + function-text + + + + + + + + + + + + diff --git a/demo/target-div.html b/demo/target-div.html new file mode 100644 index 0000000..1e4af09 --- /dev/null +++ b/demo/target-div.html @@ -0,0 +1,28 @@ + + + + + target-div + + + +
hello
+ + + + + + + + + diff --git a/demo/target-input.html b/demo/target-input.html new file mode 100644 index 0000000..b24e8c5 --- /dev/null +++ b/demo/target-input.html @@ -0,0 +1,28 @@ + + + + + target-input + + + + + + + + + + + + + diff --git a/demo/target-textarea.html b/demo/target-textarea.html new file mode 100644 index 0000000..d8394f5 --- /dev/null +++ b/demo/target-textarea.html @@ -0,0 +1,28 @@ + + + + + target-textarea + + + + + + + + + + + + +