This file contains 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
function getBestPhraseCombinationsWithMaxScoreAble(words, phraseNumWordsList, phrasesData, addressCutOrigin, maxScoreAble, exportResult, | |
maxConcurrentTasks = 8, getFreeWorker = undefined, setWorkerIsFree = undefined) { | |
var clauseNumWords = words.length; | |
var rankingTable = []; | |
for (var s = 0; s <= maxScoreAble; s++) { | |
rankingTable[s] = []; | |
} |
This file contains 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
public updateGrid() { | |
console.log('updating grid'); | |
const columnCount = 5; | |
const spaceBetween = 30; | |
const ulTag = this.grid.nativeElement; | |
const liTags = ulTag.children; | |
const liTagLoadedList = []; | |
if (liTags.length > 0) { | |
this.updateLoadingState(true); | |
const setPositions = () => { |
This file contains 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
/** | |
* Created by User on 5/1/2017. | |
*/ | |
"use strict"; | |
var DatetimePicker = function (initTime, options) { | |
if (!(initTime instanceof Date)) { | |
initTime = new Date(); | |
} |