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
name: Lint | |
on: [push] | |
jobs: | |
test: | |
name: Lint | |
runs-on: ${{ matrix.os }} |
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
fetch("/p/translation-quality-api/v2/accounts/0387420b/check-types/EMOJI_CONSISTENCY/severity-level", {body: JSON.stringify({"severityLevelCode": "MEDIUM"}), method: 'PUT', credentials: 'same-origin', headers: {'accept': 'application/json', 'content-type': 'application/json', 'csrf-token':document.getElementById("csrf-token").attributes["data-csrf"].value}}) |
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
document.getElementsByTagName("video")[0].style.opacity = 0.996 |
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 every(array, f) { | |
for(var i = 0; i < array.length; i++) { | |
if(!f(array[i])) { | |
return false | |
} | |
} | |
return true | |
} |
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 reverseArray(array) { | |
var newArray = []; | |
var length = array.length; | |
while(array.length > 0) { | |
newArray.push(array.pop()) | |
} | |
return newArray; | |
}; | |
function reverseArrayInPlace(array) { |