Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickkunka committed Jun 27, 2017
1 parent b0beb8b commit dab695c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 39 deletions.
2 changes: 1 addition & 1 deletion demos/mixitup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 3 additions & 13 deletions dist/mixitup.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**!
* MixItUp v3.2.1
* A high-performance, dependency-free library for animated filtering, sorting and more
* Build 3736716d-46de-4abf-9680-61448e3d126f
* Build 4688d223-0a25-45f2-ad6c-8de49ff3ed19
*
* @copyright Copyright 2014-2017 KunkaLabs Limited.
* @author KunkaLabs Limited.
Expand Down Expand Up @@ -9150,12 +9150,7 @@
*
* @example <caption>Example: Force render targets after changing the target render function</caption>
*
* console.log(container.innerHTML);
*
* // &lt;div class="container"&gt;
* // &lt;div class="mix"&gt;Foo&lt;/div&gt;
* // &lt;div class="mix"&gt;Bar&lt;/div&gt;
* // &lt;/div&gt;
* console.log(container.innerHTML); // ... &lt;div class="mix"&gt;Foo&lt;/div&gt; ...
*
* mixer.configure({
* render: {
Expand All @@ -9165,12 +9160,7 @@
*
* mixer.forceRender();
*
* console.log(container.innerHTML);
*
* // &lt;div class="container"&gt;
* // &lt;a href="/foo/" class="mix"&gt;Foo&lt;/div&gt;
* // &lt;a href="/bar/" class="mix"&gt;Bar&lt;/div&gt;
* // &lt;/div&gt;
* console.log(container.innerHTML); // ... &lt;a href="/foo/" class="mix"&gt;Foo&lt;/div&gt; ...
*
* @public
* @instance
Expand Down
2 changes: 1 addition & 1 deletion dist/mixitup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions docs/mixitup.Mixer.md
Original file line number Diff line number Diff line change
Expand Up @@ -967,12 +967,7 @@ Targets are rendered against their existing data.

```js

console.log(container.innerHTML);

// <div class="container">
// <div class="mix">Foo</div>
// <div class="mix">Bar</div>
// </div>
console.log(container.innerHTML); // ... <div class="mix">Foo</div> ...

mixer.configure({
render: {
Expand All @@ -982,12 +977,7 @@ mixer.configure({

mixer.forceRender();

console.log(container.innerHTML);

// <div class="container">
// <a href="/foo/" class="mix">Foo</div>
// <a href="/bar/" class="mix">Bar</div>
// </div>
console.log(container.innerHTML); // ... <a href="/foo/" class="mix">Foo</div> ...
```

<h3 id="destroy">destroy()</h3>
Expand Down
14 changes: 2 additions & 12 deletions src/mixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -4222,12 +4222,7 @@ h.extend(mixitup.Mixer.prototype,
*
* @example <caption>Example: Force render targets after changing the target render function</caption>
*
* console.log(container.innerHTML);
*
* // &lt;div class="container"&gt;
* // &lt;div class="mix"&gt;Foo&lt;/div&gt;
* // &lt;div class="mix"&gt;Bar&lt;/div&gt;
* // &lt;/div&gt;
* console.log(container.innerHTML); // ... &lt;div class="mix"&gt;Foo&lt;/div&gt; ...
*
* mixer.configure({
* render: {
Expand All @@ -4237,12 +4232,7 @@ h.extend(mixitup.Mixer.prototype,
*
* mixer.forceRender();
*
* console.log(container.innerHTML);
*
* // &lt;div class="container"&gt;
* // &lt;a href="/foo/" class="mix"&gt;Foo&lt;/div&gt;
* // &lt;a href="/bar/" class="mix"&gt;Bar&lt;/div&gt;
* // &lt;/div&gt;
* console.log(container.innerHTML); // ... &lt;a href="/foo/" class="mix"&gt;Foo&lt;/div&gt; ...
*
* @public
* @instance
Expand Down

0 comments on commit dab695c

Please sign in to comment.