Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/docs/01-start/blacklisting.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>What to blacklist</h2>

<h2>Blacklist a link</h2>

<p>To blacklist a link, add it a <code>data-no-instant</code> attribute.
<p>To blacklist a link, add a <code>data-no-instant</code> attribute.

<div class="gist">
<div class="gist-file">
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/01-start/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2>Initialize InstantClick</h2>
</div>
</div>

<p>InstantClick is now activated on your website. Read those articles to get a sufficient level of proficiency with InstantClick:
<p>InstantClick is now activated on your website. Read these articles to get a sufficient level of proficiency with InstantClick:

<ul>
<li><a href="/how-it-works">How InstantClick works</a> will give you the correct mental model to deal with InstantClick’s mechanism.
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/01-start/how-it-works.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ <h2>InstantClick eschews the browser’s page change cycle</h2>
<ul>
<li>You can’t rely on <code>DOMContentLoaded</code> or <code>jQuery.ready()</code> to trigger your code (use <a href="/scripts">InstantClick’s events</a> instead).
<li>Third-party scripts that rely on them might need tweaking (see <a href="/scripts">Events and script re-evaluation</a>).
<li>The browser doesn’t show its loading indicator on page changes, <a href="/progress-bar">InstantClick shows his</a>.
<li>The browser doesn’t show its loading indicator on page changes, <a href="/progress-bar">InstantClick shows its own</a>.
</ul>

<p>The second most important thing to understand is that InstantClick only changes the <code>&lt;body&gt;</code> and <code>&lt;title&gt;</code>, so that your scripts are evaluated only once (this brings a nice, noticeable speed boost in and of itself).
Expand Down
2 changes: 1 addition & 1 deletion pages/docs/02-go-further/assets-changes.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ <h1>Tracking assets changes</h1>

<p class="warning">The current way of tracking asset changes is currently a bit clumsy. It will probably be changed later in InstantClick 4.0.

<p>To check when a style sheet or script (either external or inline) is updated, add it a <code>data-instant-track</code> attribute:
<p>To check when a style sheet or script (either external or inline) is updated, add a <code>data-instant-track</code> attribute:

<div class="gist">
<div class="gist-file">
Expand Down
2 changes: 1 addition & 1 deletion pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h2>How does it work</h2>

<p>If you don’t want any wasted requests, you may preload on “mousedown”. This is when you press your mouse button (a click is when you release it).

<p>When loading pages with InstantClick, the browser doesn’t show its standard loading indicators anymore. To make sure the user knows a page has changed, InstantClick includes a (customizable) progress bar.<sup id="note-progress-bar-back"><a href="#note-progress-bar">3</a></sup> The bar automatically scales to appropriate size on mobile devices, so it works even when your site isn’t optimized for mobile.
<p>When loading pages with InstantClick, the browser doesn’t show its standard loading indicators anymore. To make sure the user knows a page has changed, InstantClick includes a (customizable) progress bar.<sup id="note-progress-bar-back"><a href="#note-progress-bar">3</a></sup> The bar automatically scales to the appropriate size on mobile devices, so it works even when your site isn’t optimized for mobile.

<hr>

Expand Down