porkbuns/shmile

View on GitHub
app.coffee

Summary

Maintainability
Test Coverage

FIXME found
Open

# FIXME/ahao This global state is no bueno.
Severity: Minor
Found in app.coffee by fixme

Line contains inconsistent indentation
Open

    State.image_src_list.push path
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

ccKlass = if process.env['STUB_CAMERA'] is "true" then StubCameraControl else CameraControl
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      websocket.broadcast.emit "composited_image", PhotoFileUtils.photo_path_to_url(output_file_path)
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      websocket.broadcast.emit "generated_thumb", PhotoFileUtils.photo_path_to_url(thumb_path)
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

      console.log "Finished compositing image. Output image is at ", output_file_path
Severity: Minor
Found in app.coffee by coffeelint

Line exceeds maximum allowed length
Open

        exec "lpr -o #{process.env.PRINTER_IMAGE_ORIENTATION} -o media=\"#{process.env.PRINTER_MEDIA}\" #{output_file_path}"
Severity: Minor
Found in app.coffee by coffeelint

There are no issues that match your filters.

Category
Status