Skip to content

Commit e639dcd

Browse files
author
murage
authored
Release 2.0.0 breaks the latest unpkg jspdf.*.js URL (#2840)
* Update README.md Updated the unpkg latest build URL to point to the minified UMD format script * Update index.html Updated the unpkg latest build URL to point to the minified UMD format script
1 parent b3065f5 commit e639dcd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Alternatively, load it from a CDN:
3535
Or always get latest version via [unpkg](https://unpkg.com/#/)
3636

3737
```html
38-
<script src="https://unpkg.com/jspdf@latest/dist/jspdf.min.js"></script>
38+
<script src="https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js"></script>
3939
```
4040

4141
The `dist` folder of this package contains different kinds of files:

docs/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ <h2>Install</h2>
7979
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.0.0/jspdf.umd.min.js&quot;>&lt;/script>
8080
</code></pre>
8181
<p>Or always get latest version via <a href="https://unpkg.com/#/">unpkg</a></p>
82-
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://unpkg.com/jspdf@latest/dist/jspdf.min.js&quot;>&lt;/script>
82+
<pre class="prettyprint source lang-html"><code>&lt;script src=&quot;https://unpkg.com/jspdf@latest/dist/jspdf.umd.min.js&quot;>&lt;/script>
8383
</code></pre>
8484
<p>The <code>dist</code> folder of this package contains different kinds of files:</p>
8585
<ul>
@@ -283,4 +283,4 @@ <h2>License (MIT)</h2>
283283

284284

285285
</body>
286-
</html>
286+
</html>

0 commit comments

Comments
 (0)