Showing 5 of 5 total issues
Function exports
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
library: grunt.file.readJSON('bower.json'),
Function exports
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = function(config) {
config.set({
// base path, that will be used to resolve files and exclude
basePath: '',
Function encode
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
encode: function(params) {
var encodedStr = "";
// We loop over all the keys so we encode them.
Function $get
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$get: function($window, $q, ssUtils) {
return {
intent: function(type, params) {
type = type || 'tweet';
Avoid deeply nested control flow statements. Open
Open
for (var innerKey in value) {
if (value.hasOwnProperty(innerKey)) {
var innerValue = value[innerKey];
encodedStr = encodedStr + key + "=" + encodeURIComponent(value[innerKey]) + "&";
}