Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted () {
Logger.log("mounted");
const loaderVisible = Store.readLoaderVisibility(this.$store);
Logger.info("loader is visible: ", loaderVisible);
}
}
error => {
if (error instanceof SnapToS3.SnapshotValidationError) {
Logger.info("");
if (error.successes.length > 0) {
Logger.info("These snapshots validated successfully:\n" + error.successes.join("\n") + "\n");
}
Logger.error("These snapshots failed to validate:\n" + Object.keys(error.failures).map(snapshotID => snapshotID + ": " + error.failures[snapshotID]).join("\n\n"));
process.exitCode = 1;
} else {
throw error;
}
}
);
onTextureRendered(imageData) {
this.renderer.setTexture(this, imageData);
this.rasterizing = false;
logger.info('Finished rendering', this.node);
}
mounted () {
Logger.log("mounted");
const loaderVisible = Store.readLoaderVisibility(this.$store);
Logger.info("loader is visible: ", loaderVisible);
}
}
update(updaterName, styleObject) {
if (this.updaters[updaterName]) {
logger.info('Updated ' + updaterName + ' on ' + this.node.tagName + '-' + (this.node.id + this.node.className));
return this.updaters[updaterName].apply(this, [styleObject]);
}
}
successes => {
if (successes.length === 0) {
Logger.error("No snapshots to validate (snapshots must have tag \"" + options.tag + "\" set to \"migrated\" to be eligible)");
} else {
Logger.info("");
Logger.info("These snapshots validated successfully:\n" + successes.join("\n"));
}
},
error => {
static processChildren(node, rootGLElement) {
logger.info('Processing child ' + node.tagName + '-' + (node.id || node.className));
if (!utils.isHTMLNode(node)) {
return;
}
var createdElement = false;
//Iterate and create glNodes if should be created
if (helpers.shouldBeGLNode(node)) {
if (!helpers.isGLNode(node)) {
new GLElement(node, rootGLElement.settings);
createdElement = true;
} else {
node.GLElement.update('boundingRect');
node.GLElement.update('transform');