Function
Static Public Summary | ||
public |
This function works like a class to sandbox interaction with GitHub. |
|
public |
addOrDeletePorts(target: object) Adds or deletes inputs from a target atom until there is exactly one input available. |
|
public |
convertLinks(link: string): * Takes a link and converts it to be an affiliate link if it should be. |
|
public |
extractBomTags(path: string) Computes and returns an array of BOMEntry objects after looking at the tags of a geometry. |
|
public |
Runs when a gitHub molecule menu option is clicked to show search bar. |
Static Public
public GitHubModule() source
import GitHubModule from 'canvas-template/src/js/githubOauth.js'
This function works like a class to sandbox interaction with GitHub.
public addOrDeletePorts(target: object) source
import {addOrDeletePorts} from 'canvas-template/src/js/alwaysOneFreeInput.js'
Adds or deletes inputs from a target atom until there is exactly one input available.
Params:
Name | Type | Attribute | Description |
target | object | The atom which should have it's number of inputs adjusted. |
public convertLinks(link: string): * source
import {convertLinks} from 'canvas-template/src/js/BOM.js'
Takes a link and converts it to be an affiliate link if it should be.
Params:
Name | Type | Attribute | Description |
link | string | The link to check. |
Return:
* |
public extractBomTags(path: string) source
import {extractBomTags} from 'canvas-template/src/js/BOM.js'
Computes and returns an array of BOMEntry objects after looking at the tags of a geometry.
Params:
Name | Type | Attribute | Description |
path | string | The geometry which should be scanned for tags. |
public showGitHubSearch() source
import {showGitHubSearch} from 'canvas-template/src/js/NewMenu.js'
Runs when a gitHub molecule menu option is clicked to show search bar.