Skip to content

Commit f6c031b

Browse files
committed
the fixi project release prep
1 parent 31a4cf8 commit f6c031b

2 files changed

Lines changed: 18 additions & 11 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ All five libraries are also published as a single pre-concatenated, minified, an
126126
<script src="https://cdn.jsdelivr.net/npm/the-fixi-project/dist/the-fixi-project.min.js"></script>
127127
```
128128

129-
The entire fixi project comes in at ~4.2kb when brotli-compressed.
129+
The entire fixi project comes in at ~4.4kb when brotli-compressed.
130130

131131
## Developing
132132

www/index.html

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -299,11 +299,11 @@ <h2 id="installing"><a href="#installing">Installing</a></h2>
299299
</label>
300300
<label class="install-row">
301301
<input type="checkbox" class="pick" checked
302-
data-url="https://cdn.jsdelivr.net/npm/fixi-js@0.9.3/fixi.js"
303-
data-sri="sha256-Qalmv6iqaAnrglOx2AWSoLfJFmXLGtjAIdBgsLc3bgg="
302+
data-url="https://cdn.jsdelivr.net/npm/fixi-js@0.9.4/fixi.js"
303+
data-sri="sha256-rPuE58bCyMrZ37o4bByX4epgBA1bAeTylp7TxOXVh90="
304304
data-pkg="fixi-js"
305-
data-ver="0.9.3">
306-
<code>&lt;script src="...<b>@0.9.3/fixi.js</b>"&gt;&lt;/script&gt;</code>
305+
data-ver="0.9.4">
306+
<code>&lt;script src="...<b>@0.9.4/fixi.js</b>"&gt;&lt;/script&gt;</code>
307307
<a class="copy" href="#" on-click.halt="
308308
let p=this.closest('.install-row').querySelector('.pick');
309309
await navigator.clipboard.writeText(`&lt;script src=&quot;${p.dataset.url}&quot; integrity=&quot;${p.dataset.sri}&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;`);
@@ -354,24 +354,25 @@ <h2 id="installing"><a href="#installing">Installing</a></h2>
354354
<p>NOTE: you will want to load <code>moxi</code> <em>before</em> <code>fixi</code> so its <code>on-fx:init</code> and
355355
<code>on-fx:process</code> handlers are registered before fixi dispatches those events on page load.</p>
356356

357-
<h2 id="all-in-one"><a href="#all-in-one"><span class="ico">&#x1F9F0;</span> The Fixi Project All-in-One <small>(4.3kb brotli)</small></a></h2>
357+
<h2 id="all-in-one"><a href="#all-in-one"><span class="ico">&#x1F9F0;</span> The Fixi Project All-in-One <small>(4.4kb brotli)</small></a></h2>
358358

359359
<p>All five libraries are also available pre-concatenated, minified, and brotli-compressed in a single file:</p>
360360
<div class="installer">
361361
<div class="installer-header">
362362
<div class="installer-actions" style="margin-left:auto">
363-
<button data-url="https://cdn.jsdelivr.net/npm/the-fixi-project/dist/the-fixi-project.min.js"
363+
<button data-url="https://cdn.jsdelivr.net/npm/the-fixi-project@0.0.1/dist/the-fixi-project.min.js"
364+
data-sri="sha256-PZXMfiKtYIeODhG48+vO/HYe6kPgp8p74t9n7A6z/J0="
364365
on-click="
365-
let s=`&lt;script src=&quot;${this.dataset.url}&quot;&gt;&lt;/script&gt;`;
366+
let s=`&lt;script src=&quot;${this.dataset.url}&quot; integrity=&quot;${this.dataset.sri}&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;`;
366367
await navigator.clipboard.writeText(s);
367368
let t=this.innerText;
368369
this.innerText='copied!';
369370
await wait(1200);
370371
this.innerText=t
371372
">CDN</button>
372-
<button data-url="https://cdn.jsdelivr.net/npm/the-fixi-project/dist/the-fixi-project.min.js"
373+
<button data-url="https://cdn.jsdelivr.net/npm/the-fixi-project@0.0.1/dist/the-fixi-project.min.js"
373374
on-click="
374-
let s=`curl -O ${this.dataset.url}`;
375+
let s=`curl -o the-fixi-project@0.0.1.min.js ${this.dataset.url}`;
375376
await navigator.clipboard.writeText(s);
376377
let t=this.innerText;
377378
this.innerText='copied!';
@@ -381,7 +382,13 @@ <h2 id="all-in-one"><a href="#all-in-one"><span class="ico">&#x1F9F0;</span> The
381382
</div>
382383
</div>
383384
<div class="install-row">
384-
<code>&lt;script src="https://cdn.jsdelivr.net/npm/the-fixi-project/dist/the-fixi-project.min.js"&gt;&lt;/script&gt;</code>
385+
<code>&lt;script src="...<b>@0.0.1/dist/the-fixi-project.min.js</b>"&gt;&lt;/script&gt;</code>
386+
<a class="copy" href="#" data-url="https://cdn.jsdelivr.net/npm/the-fixi-project@0.0.1/dist/the-fixi-project.min.js"
387+
data-sri="sha256-PZXMfiKtYIeODhG48+vO/HYe6kPgp8p74t9n7A6z/J0="
388+
on-click.prevent.stop="
389+
await navigator.clipboard.writeText(`&lt;script src=&quot;${this.dataset.url}&quot; integrity=&quot;${this.dataset.sri}&quot; crossorigin=&quot;anonymous&quot;&gt;&lt;/script&gt;`);
390+
let t=this.innerText; this.innerText='copied!'; await wait(1200); this.innerText=t
391+
">copy</a>
385392
</div>
386393
</div>
387394

0 commit comments

Comments
 (0)