tutorialCtrl

tutorialCtrl

new tutorialCtrl()

Controller for the tutorials page.

Source:

Methods

(static) getPackageJson(user, repo)

Get the package.json file from the github repo to fill in details. Retrives the package using the raw.githubusercontent.com raw link.

Source:
Tutorials:
Parameters:
Name Type Description
user String

Username of github repo

repo String

Repository name on Github

(static) importSubmitScripts(submits)

Import the submission scripts from the package.json

Source:
Parameters:
Name Type Description
submits Array

Array of submission files