Skip to content

Commit ddcb050

Browse files
committed
add survey.min.css option to installation instructions
1 parent 7b7b947 commit ddcb050

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/plugins/survey.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,10 +210,10 @@ This plugin does not yet support [simulation mode](../overview/simulation.md).
210210

211211
## CSS
212212

213-
This plugin requires an additional stylesheet called `survey.css`. You can load it via:
213+
This plugin requires an additional stylesheet called `survey.css`. You can also choose to use the minified version, `survey.min.css`. You can load it via:
214214

215215
```html
216-
<link rel="stylesheet" href="https://unpkg.com/@jspsych/[email protected]/css/survey.css">
216+
<link rel="stylesheet" href="https://unpkg.com/@jspsych/[email protected]/css/survey.min.css">
217217
```
218218

219219
If you are using a bundler such as [webpack](https://webpack.js.org/), you can also import it in JavaScript as follows, depending on your bundler configuration:
@@ -227,7 +227,7 @@ Using the CDN-hosted JavaScript file:
227227

228228
```js
229229
<script src="https://unpkg.com/@jspsych/[email protected]"></script>
230-
<link rel="stylesheet" href="https://unpkg.com/@jspsych/[email protected]/css/survey.css">
230+
<link rel="stylesheet" href="https://unpkg.com/@jspsych/[email protected]/css/survey.min.css">
231231
```
232232

233233
Using the JavaScript file downloaded from a GitHub release dist archive:

0 commit comments

Comments
 (0)