Skip to content

Commit c183fca

Browse files
committed
deploy: 404bf3b
1 parent bda8162 commit c183fca

621 files changed

Lines changed: 272567 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

PR1267/404.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html>
3+
4+
<head>
5+
<meta charset="utf-8">
6+
<script type="text/javascript">
7+
// Single Page Apps for GitHub Pages
8+
// MIT License
9+
// https://github.com/rafgraph/spa-github-pages
10+
// This script takes the current url and converts the path and query
11+
// string into just a query string, and then redirects the browser
12+
// to the new url with only a query string and hash fragment,
13+
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
14+
// https://www.foo.tld/?/one/two&a=b~and~c=d#qwe
15+
// Note: this 404.html file must be at least 512 bytes for it to work
16+
// with Internet Explorer (it is currently > 512 bytes)
17+
18+
// If you're creating a Project Pages site and NOT using a custom domain,
19+
// then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1).
20+
// This way the code will only replace the route part of the path, and not
21+
// the real directory in which the app resides, for example:
22+
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
23+
// https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe
24+
// Otherwise, leave pathSegmentsToKeep as 0.
25+
26+
// Grep for PR***, if we find that we want 2 segments
27+
var PRFound = !!window.location.pathname.match(/\/PR\d+\//);
28+
var pathSegmentsToKeep = PRFound ? 2 : 1;
29+
30+
var l = window.location;
31+
l.replace(
32+
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
33+
l.pathname.split('/').slice(0, 1 + pathSegmentsToKeep).join('/') + '/?/' +
34+
l.pathname.slice(1).split('/').slice(pathSegmentsToKeep).join('/').replace(/&/g, '~and~') +
35+
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
36+
l.hash
37+
);
38+
39+
</script>
40+
</head>
41+
42+
<body>
43+
</body>
44+
45+
</html>

PR1267/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# The Public Folder: Experiment Configs, Stimuli and Resources
2+
3+
Files that are in the `public` folder are exposed on the study website. For technical reasons, all static files (including reVISit configurations) have to be in the public folder.
4+
5+
If you want to create a new experiment, you should create a new subfolder in this `public` folder that contains your reVISit config.
6+
7+
Study folder names can include periods (`.`), spaces, and other characters, but reVISit normalizes study URLs by replacing periods/spaces/slashes with underscores. Use links generated in the app to avoid mismatched manual URLs.
8+
9+
Example projects that explain basic reVISit functionality are:
10+
11+
* [image-demo](image-demo) is the most basic study example that uses images for study stimuli.
12+
* [html-input](html-demo) demonstrates how to use a HTML/JS stimulus.
13+
* Check out the [deployed study page] for a full list and descriptions of the projects.
14+
15+
Folders that don't contain an experiment are:
16+
17+
* `assets` which contains logos, etc.
18+
* [configs](configs) which contains a reference of the reVISit config

PR1267/assets/VLAT1-vnvZ7yRm.png

341 KB
Loading

PR1267/assets/VLAT10-BMGl61Mu.png

438 KB
Loading

PR1267/assets/VLAT11-Bxb0LCYD.png

805 KB
Loading

PR1267/assets/VLAT12-Ch9t16aS.png

406 KB
Loading

PR1267/assets/VLAT2-Ck6767Xc.png

326 KB
Loading

PR1267/assets/VLAT3-Cwe4YjoY.png

411 KB
Loading

PR1267/assets/VLAT4-CZ1oExNp.png

388 KB
Loading

PR1267/assets/VLAT5-C6h4Z1Dz.png

307 KB
Loading

0 commit comments

Comments
 (0)