Showing 300 of 562 total issues
Function setClass
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
setClass: function(element, add, remove, options) {
options = parseAnimateOptions(options);
var STORAGE_KEY = '$$animateClasses';
element = angular.element(element);
Function getRenderFn
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getRenderFn: function() {
var self = this;
var content = self.__content;
Function compile
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function(tElement, tAttrs) {
// clone the back button, but as a <div>
var buttonEle = $document[0].createElement('button');
for (var n in tAttrs.$attr) {
Function $StateRefDirective
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function $StateRefDirective($state, $timeout) {
var allowedOptions = ['location', 'inherit', 'reload'];
return {
restrict: 'A',
Function end
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
end: function() {
// measure duration
var duration = +new Date() - start.time;
File angular-resource.js
has 256 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* @license AngularJS v1.3.13
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
Function compile
has 53 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function (tElement, tAttrs, $transclude) {
return function (scope, $element, attrs) {
var previousEl, currentEl, currentScope, latestLocals,
onloadExp = attrs.onload || '',
autoScrollExp = attrs.autoscroll,
Function compile
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
compile: function(element) {
element.addClass('scroll-view ionic-scroll');
//We cannot transclude here because it breaks element.data() inheritance on compile
var innerElement = jqLite('<div class="scroll"></div>');
Function __publish
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
__publish: function(left, top, zoom, animate, wasResize) {
var self = this;
// Remember whether we had an animation, then we try to continue based on the current "drive" of the animation
Function decodeBase64
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function decodeBase64 (str) {
let buffer;
if (typeof module !== 'undefined' && module.exports) {
try {
buffer = require('buffer').Buffer;
Function onTouch
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
onTouch: function onTouch(element, eventType, handler) {
var self = this;
this.bindDom(element, ionic.Gestures.EVENT_TYPES[eventType], function bindDomOnTouch(ev) {
var sourceEventType = ev.type.toLowerCase();
Function show
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
show: function(target) {
var self = this;
if (self.scope.$$destroyed) {
$log.error('Cannot call ' + self.viewType + '.show() after remove(). Please create a new ' + self.viewType + ' instance.');
Method facebook
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function facebook(Request $request)
{
$client = new GuzzleHttp\Client();
$params = [
Function headerFooterBarDirective
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function headerFooterBarDirective(isHeader) {
return ['$document', '$timeout', function($document, $timeout) {
return {
restrict: 'E',
controller: '$ionicHeaderBar',
Function start
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
start: function(stepCallback, verifyCallback, completedCallback, duration, easingMethod, root) {
var start = time();
var lastFrame = start;
var percent = 0;
Function link
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function(scope, element, attrs, uiSrefActive) {
var ref = parseStateRef(attrs.uiSref, $state.current.name);
var params = null, url = null, base = stateContext(element) || $state.$current;
var newHref = null, isAnchor = element.prop("tagName") === "A";
var isForm = element[0].nodeName === "FORM";
Function decodeBase64
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function decodeBase64(str) {
var buffer;
if (typeof module !== 'undefined' && module.exports) {
try {
buffer = require('buffer').Buffer;
Function bindDomOnTouch
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
this.bindDom(element, ionic.Gestures.EVENT_TYPES[eventType], function bindDomOnTouch(ev) {
var sourceEventType = ev.type.toLowerCase();
// onmouseup, but when touchend has been fired we do nothing.
// this is for touchdevices which also fire a mouseup on touchend
Method linkedin
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function linkedin(Request $request)
{
$client = new GuzzleHttp\Client();
$params = [
Method foursquare
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function foursquare(Request $request)
{
$client = new GuzzleHttp\Client();
$params = [