Showing 419 of 859 total issues
Function template
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
template: function(templateSpec) {
// Just add water
var container = {
escapeExpression: Handlebars.Utils.escapeExpression,
invokePartial: Handlebars.VM.invokePartial,
Function refresh
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Flipsnap.prototype.refresh = function() {
var self = this;
// setting max point
self._maxPoint = (self.maxPoint === undefined) ? (function() {
Function fitVids
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.fitVids = function( options ) {
var settings = {
customSelector: null
};
Function fitVids
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn.fitVids = function( options ) {
var settings = {
customSelector: null
};
Function refresh
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Flipsnap.prototype.refresh = function() {
var self = this;
// setting max point
self._maxPoint = (self.maxPoint === undefined) ? (function() {
Function resize
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
resize: function( event ) {
var woset, hoset, isParent, isOffsetRelative,
that = $(this).data("ui-resizable"),
o = that.options,
co = that.containerOffset, cp = that.position,
Function _mouseStart
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseStart: function(event) {
var o = this.options;
//Create and append the visible helper
Function _setContainment
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_setContainment: function() {
var over, c, ce,
o = this.options;
Function _destroy
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_destroy: function() {
if ( this.xhr ) {
this.xhr.abort();
}
Method metadata
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def metadata
meta = {
external_id: @mal_id,
title: {
canonical: @main_noko.css('h1').children[0].text.strip,
Method present_story
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def present_story(story, current_user, title_language_preference)
json = {
id: story.id,
story_type: story.story_type,
user: present_miniuser(story.user),
Function _create
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var opts = this.options;
var elem = $(this.element);
// get the multiselect instance
Function refresh
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
refresh: function() {
var menus,
icon = this.options.icons.submenu,
submenus = this.element.find( this.options.menus );
Function show
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
, show: function () {
var $tip
, pos
, actualWidth
, actualHeight
Function _create
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create: function() {
var el = this.element.hide();
var o = this.options;
this.speed = $.fx.speeds._default; // default speed for effects
Function suggester
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function suggester(context) {
context.textcomplete([
{ // emoji
emojis: PreloadStore.get("emoji"),
match: /(^|\s):(\w*)$/,
Function _mouseDrag
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_mouseDrag: function(event) {
//Increase performance, avoid regex
var data,
el = this.helper, props = {},
Function _createWrapper
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createWrapper: function() {
this.uiDialog = $("<div>")
.addClass( "ui-dialog ui-widget ui-widget-content ui-corner-all ui-front " +
this.options.dialogClass )
.hide()
Function loadPosts
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
loadPosts: function() {
var self = this;
ajax({
url: this.get('apiCall'),
Method upcoming
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def upcoming
hide_cover_image
season_months = {
'winter' => [12, 1, 2],