Showing 143 of 340 total issues
Function init
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function ligatureSwap
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected ligatureSwap(char: Character, ligTarget: string) {
let advanceBy = 0;
const firstChar = ligTarget.charAt(0);
const firstLigature = char._font.ligatures[firstChar];
//1 char match
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(210, 550, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
stage.scaleX = stage.scaleY = 4;
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function layout
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
layout() {
this.addAccessibility();
this.text = this.text.replace(/([\n][ \t]+)/g, "\n");
this.words = [];
this.lines = [];
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static init(target, svgpath: string) {
const ca = parsePathData(svgpath);
const G = createjs.Graphics;
for (let n = 0; n < ca.length; n++) {
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(820, 900, 1);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(480, 480, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);
Function init
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function init() {
const canvas = createHiDPICanvas(610, 610, 2);
document.body.appendChild(canvas);
const stage = new createjs.Stage(canvas);