Skip to content

added labfile with markdown #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions tests/example_data/labfile1.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,40 @@ tuxlab.tasks = function(env){
var v3 = function(){}
var s4 = function(){}
var v4 = function(){}
/* @task1 this is task 1
tomato{}
hi();
@onevar1
I'm a cheesepuff
@othervar1
*/
var task1 = tuxlab.newTask('TASK1','MD1',s1,v1)
/*
@task2
this is task 2
potato{}
bye();
@onevar2
I'm a cheesepuff
@anothervar2
*/
var task2 = tuxlab.newTask('TASK2','MD2',s2,v2)
/*@task3 this is task 3
onion{}
later();
@onevar3
I'm a cheesepuff
@othervar3
*/
var task3 = tuxlab.newTask('TASK3','MD3',s3,v3)
/*
@task4 this is task 4
turnip{}
ello();
@onevar4
I'm a cheesepuff
@othervar4
*/
var task4 = tuxlab.newTask('TASK4','MD4',s4,v4)
return tuxlab.init()
.nextTask(task1)
Expand Down