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
moneyMovesNodes = document.querySelectorAll('.moneyText'); | |
i = 0; | |
byPlaces = {}; | |
$(document).ajaxSuccess(() => requestAnimationFrame(() => { | |
const places = Array.from(document.querySelectorAll('.CLIP')).filter((_, i) => i % 2 === 0).map(n => n.textContent); | |
const moneyMoves = Array.from(document.querySelectorAll('.RED_AMOUNT,.GREEN_AMOUNT')) | |
.map(n => parseFloat(n.outerText.replace(/[^\d\+\-\,]/g, '').replace(',', '.'))); | |
places.forEach((p, i) => byPlaces[p] = (byPlaces[p] || 0) + moneyMoves[i]) | |
const more = document.querySelector('.accountMovementsBoxPager tr:nth-child(2) td:nth-child(4):not(.DISABLED) > a'); | |
if (more) { |
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
{ | |
"pro": true, | |
"plugins": [ | |
"jsdom-quokka-plugin", | |
"quokka-mocha-bdd" | |
], | |
"env": { "params": { "env": "TS_NODE_TRANSPILE_ONLY=true;NODE_ENV=development;DEBUG=*" } }, | |
"jsdom": { | |
"config": { | |
"url": "http://localhost" |
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
SDK.TextSourceMap.prototype._parseSources = function(sourceMap) { | |
var sourcesList = []; | |
var sourceRoot = sourceMap.sourceRoot || ''; | |
if (sourceRoot && !sourceRoot.endsWith('/')) | |
sourceRoot += '/'; | |
for (var i = 0; i < sourceMap.sources.length; ++i) { | |
var href = sourceRoot + sourceMap.sources[i]; | |
var url = Common.ParsedURL.completeURL(this._sourceMappingURL, href) || href; | |
var source = sourceMap.sourcesContent && sourceMap.sourcesContent[i]; | |
/*if (url === this._compiledURL && source) |
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
WebInspector.TextSourceMap.prototype._parseMap = function(map, lineNumber, columnNumber) { | |
var sourceIndex = 0; | |
var sourceLineNumber = 0; | |
var sourceColumnNumber = 0; | |
var nameIndex = 0; | |
var sources = []; | |
var names = map.names || []; | |
var sourceRoot = map.sourceRoot || ""; | |
if (sourceRoot && !sourceRoot.endsWith("/")) | |
sourceRoot += "/"; |
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
WebInspector.SourceMap.prototype._parseMap = function(map, lineNumber, columnNumber) | |
{ | |
var sourceIndex = 0; | |
var sourceLineNumber = 0; | |
var sourceColumnNumber = 0; | |
var nameIndex = 0; | |
var sources = []; | |
var sourceRoot = map.sourceRoot || ""; | |
if (sourceRoot && !sourceRoot.endsWith("/")) | |
sourceRoot += "/"; |
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
<touchégg> | |
<settings> | |
<property name="composed_gestures_time">0</property> | |
</settings> | |
<application name="All"> | |
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
virtual_class = (classes...)-> | |
classes.reduceRight (Parent, Child)-> | |
class Child_Projection extends Parent | |
constructor: -> | |
# Temporary replace Child.__super__ and call original `constructor` | |
child_super = Child.__super__ | |
Child.__super__ = Child_Projection.__super__ | |
Child.apply @, arguments | |
Child.__super__ = child_super |