This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[Parameter(Mandatory)][string] $GitHubToken, | |
[Parameter(Mandatory)][string] $GitHubOwner, | |
[Parameter(Mandatory)][string] $GitHubRepo, | |
[Parameter(Mandatory)][string] $SourceTrelloJsonFile, | |
[string[]] $TrelloLists, | |
[bool] $UpdateExistingIssuesByTitle = $true, | |
[bool] $AddNonExistingIssues = $true, | |
[bool] $Logging = $true, | |
[bool] $DeleteExistingComments = $true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// See http://www.barryvan.com.au/2012/03/determining-a-table-cells-x-and-y-positionindex | |
Element.implement({ | |
getCellCoords: function() { | |
if (this.get('tag') !== 'td' && this.get('tag') !== 'th') return null; | |
var result = {}; | |
// The y-coord is simply the number of <tr> elements that precede our parent, plus our parent. | |
result.y = this.getParent('tr').getAllPrevious('tr').length; |