Showing 8 of 23 total issues
File firesync-test.js
has 523 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
var firesync;
var Firebase;
Function _attach
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attach() {
Object.observe(this, (args) => {
let filteredArgs = _.chain(args)
.filter((arg) => {
return !this.$$.FILTERED_PROPERTIES.has(arg.name);
File firesyncBase.js
has 268 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
'use strict';
import { EventEmitter2 } from 'eventemitter2';
import _ from 'lodash';
import queue from 'queue';
Function _updateBindings
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_updateBindings(changes, origin, target = constants.BINDING_TARGET.ANY, force = false) {
return new Promise((resolve) => {
let bindingQueue = queue();
this.$$.bindings.forEach((binding) => {
Function bindTo
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
bindTo(settings) {
_.extend(settings, {
data: this
});
Function handler
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let handler = (snap, prevChild) => {
let property = snap.key();
let value = snap.val();
let type;
Function map
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function map(ref) {
return new Promise((resolve) => {
ref.once('value', (snap) => {
let val = snap.val();
Function queuedBinding
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
let queuedBinding = (cb) => {
if (binding.inProgress && binding.origin !== origin && !force) {
return cb();
}