Skip to content

Commit

Permalink
docs(clone):update selector error (#153)
Browse files Browse the repository at this point in the history
Signed-off-by: ajiho <lujiahao@88.com>
  • Loading branch information
ajiho committed Apr 7, 2024
1 parent 1001324 commit f05a919
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
node_modules
npm-debug.log
.DS_Store
.vscode
2 changes: 1 addition & 1 deletion docs/documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ <h3 id="examples">Examples</h3>
&lt;div class=&quot;testClone1&quot;&gt;Hello&lt;/div&gt;
&lt;div class=&quot;cloneDestination&quot;&gt;&lt;/div&gt;
&lt;/div&gt;</code></pre>
<pre><code class="language-js">var clone = u(&quot;testClone1&quot;).clone();
<pre><code class="language-js">var clone = u(&quot;.testClone1&quot;).clone();
u(&quot;.cloneDestination&quot;).append(clone);
</code></pre>
<p>Result:</p>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/clone/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Clone a node and append to another.
```

```js
var clone = u("testClone1").clone();
var clone = u(".testClone1").clone();
u(".cloneDestination").append(clone);

```
Expand Down

0 comments on commit f05a919

Please sign in to comment.