Showing 3 of 14 total issues
Function createCreditCardAuthorization
has 66 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
YoctoPaypal.prototype.createCreditCardAuthorization = function (paymentData) {
// create a promise deferred
var deferred = Q.defer();
// Validation schema of created
Function capturePayment
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
YoctoPaypal.prototype.capturePayment = function (id, paymentData) {
// create a promise deferred
var deferred = Q.defer();
// schema of request
Function exports
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function (grunt) {
// init config
grunt.initConfig({
// default package
pkg : grunt.file.readJSON('package.json'),