src/qt/res/assets/plugins/jdenticon/jdenticon-1.3.2.js
File jdenticon-1.3.2.js
has 449 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* Jdenticon 1.3.2
* http://jdenticon.com
*
* Built: 2015-10-10T11:55:57.451Z
Function iconGenerator
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function iconGenerator(renderer, hash, x, y, size, padding, config) {
var undefined;
// Calculate padding
padding = (size * (padding === undefined ? 0.08 : padding)) | 0;
Function update
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function update(el, hash, padding) {
if (typeof(el) === "string") {
if (supportsQuerySelectorAll) {
var elements = document.querySelectorAll(el);
for (var i = 0; i < elements.length; i++) {
Function iconGenerator
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function iconGenerator(renderer, hash, x, y, size, padding, config) {
Function addTriangle
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
addTriangle: function (x, y, w, h, r, invert) {
Function addRhombus
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
addRhombus: function (x, y, w, h, invert) {
Function addRectangle
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
addRectangle: function (x, y, w, h, invert) {
Function renderShape
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function renderShape(colorIndex, shapes, index, rotationIndex, positions) {