Skip to content

Commit

Permalink
Build commit 4349fa5
Browse files Browse the repository at this point in the history
  • Loading branch information
Krinkle committed Dec 4, 2024
1 parent 07c43b4 commit eb5ea87
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 29 deletions.
3 changes: 0 additions & 3 deletions api/deprecated/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ <h1>Deprecated methods</h1>
<h2 id="assert-push"><a href="/api/assert/push/">assert.push()</a></h2>
<p><strong>DEPRECATED</strong> Report the result of a custom assertion.</p>

<h2 id="qunit-extend"><a href="/api/extension/QUnit.extend/">QUnit.extend()</a></h2>
<p><strong>REMOVED</strong> Copy the properties from one object into a target object.</p>

<h2 id="qunit-load"><a href="/api/QUnit/load/">QUnit.load()</a></h2>
<p><strong>REMOVED</strong> Inform the test runner that code has finished loading.</p>
</div>
Expand Down
25 changes: 4 additions & 21 deletions api/extension/QUnit.extend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,18 +70,16 @@
<article>
<header>
<h1>QUnit.extend()</h1>
<p class="post-meta">Categories: <a class="category" href="/api/extension/">Extension interface</a>, <a class="category" href="/api/deprecated/">Deprecated methods</a>, <a class="category" href="/api/removed/">Removed methods</a>.</p>
<p class="post-meta">Categories: <a class="category" href="/api/extension/">Extension interface</a>.</p>
</header>
<p class="version-details">
version added: <a href="https://github.com/qunitjs/qunit/releases/tag/1.0.0">1.0.0</a><span class="sep">.</span>
deprecated: <a href="https://github.com/qunitjs/qunit/releases/tag/2.12.0">2.12.0</a><span class="sep">.</span>
removed: unreleased<span class="sep">.</p>
version added: <a href="https://github.com/qunitjs/qunit/releases/tag/1.0.0">1.0.0</a><span class="sep">.</span></p>
<h2 id="description" class="screen-reader-text h-api-desc">Description</h2>
<p><code class="language-plaintext highlighter-rouge">QUnit.extend( target, mixin )</code></p>

<p>Copy the properties defined by a mixin object into a target object.</p>

<p class="note note--warning">This method is <strong>deprecated</strong> and it’s recommended to use <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign"><code class="language-plaintext highlighter-rouge">Object.assign()</code></a> instead.</p>
<p class="note note--warning">It is recommended to use the built-in <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign"><code class="language-plaintext highlighter-rouge">Object.assign()</code></a> instead.</p>

<table>
<thead>
Expand All @@ -104,21 +102,6 @@ <h2 id="description" class="screen-reader-text h-api-desc">Description</h2>

<p>This method will modify the <code class="language-plaintext highlighter-rouge">target</code> object to contain the “own” properties defined by the <code class="language-plaintext highlighter-rouge">mixin</code>. If the <code class="language-plaintext highlighter-rouge">mixin</code> object specifies the value of any attribute as <code class="language-plaintext highlighter-rouge">undefined</code>, this property will instead be removed from the <code class="language-plaintext highlighter-rouge">target</code> object.</p>

<h2 id="changelog">Changelog</h2>

<table>
<tbody>
<tr>
<td>UNRELEASED</td>
<td>Removed.</td>
</tr>
<tr>
<td><a href="https://github.com/qunitjs/qunit/releases/tag/2.12.0">QUnit 2.12.0</a></td>
<td>Deprecated. Use <code class="language-plaintext highlighter-rouge">Object.assign()</code> instead.</td>
</tr>
</tbody>
</table>

<h2 id="examples">Examples</h2>

<p>Use <code class="language-plaintext highlighter-rouge">QUnit.extend</code> to merge two objects.</p>
Expand Down Expand Up @@ -197,7 +180,7 @@ <h4><a href="/api/deprecated/">Deprecated methods</a></h4>

<h4><a href="/api/removed/">Removed methods</a></h4>
<hr><div class="toc-wrapper">
<h4>Table of contents</h4><ol class="toc"><li class="sidebar-item"><a href="#description">Description</a></li><li class="sidebar-item"><a href="#changelog">Changelog</a></li><li class="sidebar-item"><a href="#examples">Examples</a></li></ol></div>
<h4>Table of contents</h4><ol class="toc"><li class="sidebar-item"><a href="#description">Description</a></li><li class="sidebar-item"><a href="#examples">Examples</a></li></ol></div>
</aside>

</div>
Expand Down
2 changes: 1 addition & 1 deletion api/extension/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ <h2 id="qunit-dump-setparser"><a href="/api/extension/QUnit.dump.setParser/">QUn
<p>Override string serialization for a given data type.</p>

<h2 id="qunit-extend"><a href="/api/extension/QUnit.extend/">QUnit.extend()</a></h2>
<p><strong>REMOVED</strong> Copy the properties from one object into a target object.</p>
<p>Copy the properties from one object into a target object.</p>

<h2 id="qunit-hooks"><a href="/api/QUnit/hooks/">QUnit.hooks</a></h2>
<p>Add global callbacks to run before or after each test.</p>
Expand Down
3 changes: 0 additions & 3 deletions api/removed/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,6 @@ <h1>Removed methods</h1>


<div class="posts">
<h2 id="qunit-extend"><a href="/api/extension/QUnit.extend/">QUnit.extend()</a></h2>
<p><strong>REMOVED</strong> Copy the properties from one object into a target object.</p>

<h2 id="qunit-load"><a href="/api/QUnit/load/">QUnit.load()</a></h2>
<p><strong>REMOVED</strong> Inform the test runner that code has finished loading.</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://qunitjs.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://qunitjs.com/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-12-04T20:02:59+00:00</updated><id>https://qunitjs.com/feed.xml</id><title type="html">QUnit</title><subtitle>The powerful, easy-to-use JavaScript testing framework.</subtitle></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://qunitjs.com/feed.xml" rel="self" type="application/atom+xml" /><link href="https://qunitjs.com/" rel="alternate" type="text/html" hreflang="en" /><updated>2024-12-04T20:39:43+00:00</updated><id>https://qunitjs.com/feed.xml</id><title type="html">QUnit</title><subtitle>The powerful, easy-to-use JavaScript testing framework.</subtitle></feed>

0 comments on commit eb5ea87

Please sign in to comment.