Skip to content

Commit

Permalink
Oxford And
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Oct 25, 2024
1 parent 4e9e1e4 commit 1c408a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .factory/index.html.pug
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ block content
li: a(href='test/attach,detach.html' target='_blank') Attach, Detach
li: a(href='test/blur,focus.html' target='_blank') Focus, Blur Events
li: a(href='test/disabled.html' target='_blank') Disabled Text Area
li: a(href='test/get,let,set.html' target='_blank') Set, Get and Let Value
li: a(href='test/get,let,set.html' target='_blank') Set, Get, and Let Value
li: a(href='test/insert.html' target='_blank') Insert Selection
li: a(href='test/match.html' target='_blank') Match Selection
li: a(href='test/peel,wrap.html' target='_blank') Wrap, Peel Selection
Expand Down Expand Up @@ -182,7 +182,7 @@ block content
| let exists = maps[m[0] = m[0] ? m[0].trim() : ""];
| exists && this.insert(exists);
| });
p Matches to the characters before selection, current selection and characters after selection.
p Matches to the characters before selection, current selection, and characters after selection.
pre: code
| let test = editor.match([/:$/, /^\w+$/, /^:/]);
| console.log(test[0] && test[1] && test[2]);
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ <h2 id="tests"><a href="#tests">#</a> Tests</h2>
<li><a href="test/attach,detach.html" target="_blank">Attach, Detach</a></li>
<li><a href="test/blur,focus.html" target="_blank">Focus, Blur Events</a></li>
<li><a href="test/disabled.html" target="_blank">Disabled Text Area</a></li>
<li><a href="test/get,let,set.html" target="_blank">Set, Get and Let Value</a></li>
<li><a href="test/get,let,set.html" target="_blank">Set, Get, and Let Value</a></li>
<li><a href="test/insert.html" target="_blank">Insert Selection</a></li>
<li><a href="test/match.html" target="_blank">Match Selection</a></li>
<li><a href="test/peel,wrap.html" target="_blank">Wrap, Peel Selection</a></li>
Expand Down Expand Up @@ -150,7 +150,7 @@ <h4><code>editor.match(pattern, then)</code></h4>
let exists = maps[m[0] = m[0] ? m[0].trim() : ""];
exists &amp;&amp; this.insert(exists);
});</code></pre>
<p>Matches to the characters before selection, current selection and characters after selection.</p>
<p>Matches to the characters before selection, current selection, and characters after selection.</p>
<pre><code>let test = editor.match([/:$/, /^\w+$/, /^:/]);
console.log(test[0] &amp;&amp; test[1] &amp;&amp; test[2]);</code></pre>
<pre><code>editor.match([/:$/, /^\w+$/, /^:/], function (before, value, after) {
Expand Down

0 comments on commit 1c408a0

Please sign in to comment.