mirror of
https://github.com/transloadit/uppy.git
synced 2026-01-23 02:25:07 +00:00
Change Uppy version references to v0.24.3
This commit is contained in:
parent
03cb8b5184
commit
0284c8e47b
7 changed files with 14 additions and 14 deletions
|
|
@ -64,7 +64,7 @@ $ npm install uppy --save
|
|||
|
||||
We recommend installing from npm and then using a module bundler such as [Webpack](http://webpack.github.io/), [Browserify](http://browserify.org/) or [Rollup.js](http://rollupjs.org/).
|
||||
|
||||
Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css), either to `<head>` of your HTML page or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
||||
Add CSS [uppy.min.css](https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css), either to `<head>` of your HTML page or include in JS, if your bundler of choice supports it — transforms and plugins are available for Browserify and Webpack.
|
||||
|
||||
Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly. In that case `Uppy` will attach itself to the global `window.Uppy` object.
|
||||
|
||||
|
|
@ -73,12 +73,12 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
|
|||
1\. Add a script to the bottom of `<body>`:
|
||||
|
||||
``` html
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js"></script>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js"></script>
|
||||
```
|
||||
|
||||
2\. Add CSS to `<head>`:
|
||||
``` html
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css" rel="stylesheet">
|
||||
```
|
||||
|
||||
3\. Initialize:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@
|
|||
# - Checks if a tag is being built (on Travis - otherwise opts to continue execution regardless)
|
||||
# - Installs AWS CLI if needed
|
||||
# - Assumed a fully built uppy is in root dir (unless a specific tag was specified, then it's fetched from npm)
|
||||
# - Runs npm pack, and stores files to e.g. https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.css
|
||||
# - Runs npm pack, and stores files to e.g. https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.css
|
||||
# - Uses local package by default, if [version] argument was specified, takes package from npm
|
||||
#
|
||||
# Run as:
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
<title></title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<button id="uppyModalOpener">Open Modal</button>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js"></script>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js"></script>
|
||||
<script>
|
||||
const uppy = Uppy.Core({debug: true, autoProceed: false})
|
||||
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
|
||||
|
|
|
|||
|
|
@ -4,11 +4,11 @@
|
|||
<title></title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<button id="uppyModalOpener">Open Modal</button>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js"></script>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js"></script>
|
||||
<script>
|
||||
const uppy = Uppy.Core({debug: true, autoProceed: false})
|
||||
.use(Uppy.Dashboard, { trigger: '#uppyModalOpener' })
|
||||
|
|
|
|||
|
|
@ -48,12 +48,12 @@ Alternatively, you can also use a pre-built bundle from Transloadit's CDN: Edgly
|
|||
1\. Add a script to the bottom of `<body>`:
|
||||
|
||||
``` html
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js"></script>
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js"></script>
|
||||
```
|
||||
|
||||
2\. Add CSS to `<head>`:
|
||||
``` html
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css" rel="stylesheet">
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css" rel="stylesheet">
|
||||
```
|
||||
|
||||
3\. Initialize:
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<!-- Basic Uppy styles. You can use Transloadit's CDN, Edgly:
|
||||
https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css -->
|
||||
https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css -->
|
||||
<link rel="stylesheet" href="/uppy/uppy.min.css">
|
||||
|
||||
<div class="UppyDragDrop"></div>
|
||||
|
||||
<!-- Load Uppy pre-built bundled version. You can use Transloadit's CDN, Edgly:
|
||||
https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js -->
|
||||
https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js -->
|
||||
<script src="/uppy/uppy.min.js"></script>
|
||||
<script>
|
||||
var uppy = Uppy.Core({ debug: true });
|
||||
|
|
|
|||
|
|
@ -79,8 +79,8 @@
|
|||
<p>© <%- date(Date.now(), 'YYYY') %> <a href="https://transloadit.com" rel="noreferrer noopener" target="_blank">Transloadit</a></p>
|
||||
</footer>
|
||||
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.css" rel="stylesheet">
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.2/dist/uppy.min.js"></script>
|
||||
<link href="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.css" rel="stylesheet">
|
||||
<script src="https://transloadit.edgly.net/releases/uppy/v0.24.3/dist/uppy.min.js"></script>
|
||||
|
||||
<script>
|
||||
var PROTOCOL = location.protocol === 'https:' ? 'https' : 'http'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue