Showing 4 of 6 total issues
Function exports
has 281 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// Load grunt tasks automatically
require('load-grunt-tasks')(grunt);
File Gruntfile.js
has 284 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Generated on 2013-12-21 using generator-angular 0.6.0
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
Function startViewfinder
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SonyCamera.prototype.startViewfinder = function (req, res) {
this.call('startLiveview', null, function (err, output) {
var liveviewUrl = url.parse(output.result[0]);
// console.log(liveviewUrl);
Function liveviewReq
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var liveviewReq = http.request(liveviewUrl, function (liveviewRes) {
// console.log(data);
var contentType = liveviewRes.headers['content-type'];
var boundaryBuffer = new Buffer('\n--' + boundary + '\nContent-Type: ' + contentType + '\n\n');