|
@@ -104,7 +104,7 @@ $(selector).transloadit({
|
|
|
```
|
|
|
```html
|
|
|
<!-- The new Robodog way! -->
|
|
|
-<script src="//transloadit.edgly.net/releases/uppy/v1.0.0/robodog.min.js"></script>
|
|
|
+<script src="//transloadit.edgly.net/releases/uppy/robodog/v1.0.0/robodog.min.js"></script>
|
|
|
|
|
|
<script>
|
|
|
window.Robodog.form(selector, {
|
|
@@ -116,7 +116,7 @@ window.Robodog.form(selector, {
|
|
|
Make sure to also include the Uppy css file in your `<head>` tag in case you want to use the `modal: true` option:
|
|
|
```html
|
|
|
<head>
|
|
|
- <link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/v1.0.0/robodog.min.css">
|
|
|
+ <link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.0.0/robodog.min.css">
|
|
|
</head>
|
|
|
```
|
|
|
|
|
@@ -128,7 +128,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
|
|
|
<html>
|
|
|
<head>
|
|
|
<title>Testing Robodog</title>
|
|
|
- <link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/v1.0.0/robodog.min.css">
|
|
|
+ <link rel="stylesheet" href="https://transloadit.edgly.net/releases/uppy/robodog/v1.0.0/robodog.min.css">
|
|
|
</head>
|
|
|
<body>
|
|
|
<form id="upload-form" action="/uploads" enctype="multipart/form-data" method="POST">
|
|
@@ -138,7 +138,7 @@ Notice how the form is submitted to the inexistant `/uploads` route once all tra
|
|
|
<button type="submit">Upload</button>
|
|
|
</form>
|
|
|
|
|
|
- <script src="https://transloadit.edgly.net/releases/uppy/v1.0.0/robodog.min.js"></script>
|
|
|
+ <script src="https://transloadit.edgly.net/releases/uppy/robodog/v1.0.0/robodog.min.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
window.Robodog.form('#upload-form', {
|
|
|
waitForEncoding: true,
|