cyclejs/cycle-core

View on GitHub
examples/intermediate/http-search-github/src/main.js

Summary

Maintainability
A
1 hr
Test Coverage

Function main has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function main(sources) {
  // Requests for Github repositories happen when the input field changes,
  // debounced by 500ms, ignoring empty input field.
  const searchRequest$ = sources.DOM.select('.field').events('input')
    .compose(sources.Time.debounce(500))
Severity: Minor
Found in examples/intermediate/http-search-github/src/main.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status