adding tests&examples folder

This commit is contained in:
Josh de Leeuw 2015-02-18 12:27:18 -05:00
parent 79b06f665a
commit 29a57fbe14
6 changed files with 58 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

4
tests&examples/js/jquery.min.js vendored Normal file

File diff suppressed because one or more lines are too long

20
tests&examples/js/snap.svg-min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,34 @@
<!doctype html>
<html>
<head>
<script src="js/jquery.min.js"></script>
<script src="js/snap.svg-min.js"></script>
<script src="../jspsych.js"></script>
<script src="../plugins/jspsych-visual-search-circle.js"></script>
<link rel="stylesheet" src="../css/jspsych.css"></link>
</head>
<body>
<div id="jspsych-target"></div>
</body>
<script>
var trials = {
type: 'visual-search-circle',
target: 'img/normalN.gif',
foil: 'img/backwardN.gif',
fixation_image: 'img/fixation.gif',
target_present: [true, false, true, false],
set_size: [2,3,4,6]
};
function start(){
jsPsych.init({
display_element: $('#jspsych-target'),
experiment_structure: [trials]
});
}
jsPsych.preloadImages(['img/normalN.gif', 'img/backwardN.gif', 'img/fixation.gif'], start);
</script>
</html>