Showing 75 of 125 total issues
File epiceditor.js
has 1922 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* EpicEditor - An Embeddable JavaScript Markdown Editor (https://github.com/OscarGodson/EpicEditor)
* Copyright (c) 2011-2012, Oscar Godson. (MIT Licensed)
*/
File chosen.jquery.js
has 1126 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*!
Chosen, a Select Box Enhancer for jQuery and Prototype
by Patrick Filler for Harvest, http://getharvest.com
Version 1.2.0
Function load
has 422 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EpicEditor.prototype.load = function (callback) {
// Get out early if it's already loaded
if (this.is('loaded')) { return this; }
File jquery.tooltipster.js
has 865 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/*
Tooltipster 3.2.6 | 2014-07-16
A rockin' custom tooltip jQuery plugin
Function reposition
has 254 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
reposition: function() {
var self = this;
// in case the tooltip has been removed from DOM manually
Function token
has 201 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Lexer.prototype.token = function(src, top) {
var src = src.replace(/^ +$/gm, '')
, next
, loose
, cap
Model_User
has 47 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Model_User extends Model_Record
{
protected $_data;
protected $_lastPost;
Function GMapsLatLonPicker
has 154 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var GMapsLatLonPicker = (function() {
var _self = this;
///////////////////////////////////////////////////////////////////////////////////////////////
Function _showNow
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_showNow: function(callback) {
var self = this;
// call our constructor custom function before continuing
Function EpicEditor
has 132 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function EpicEditor(options) {
// Default settings will be overwritten/extended by options arg
var self = this
, opts = options || {}
, _defaultFileSchema
Function tok
has 128 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Parser.prototype.tok = function() {
switch (this.token.type) {
case 'space': {
return '';
}
Model_Post
has 36 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Model_Post extends Model_Record
{
protected $_data;
protected $_user;
Function output
has 112 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InlineLexer.prototype.output = function(src) {
var out = ''
, link
, text
, href
File User.php
has 301 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
class Model_User extends Model_Record
{
protected $_data;
Function register_observers
has 79 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Chosen.prototype.register_observers = function() {
var _this = this;
this.container.bind('touchstart.chosen', function(evt) {
_this.container_mousedown(evt);
});
Function pluginName
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
$.fn[pluginName] = function () {
// for using in closures
var args = arguments;
Function _goFullscreen
has 70 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
self._goFullscreen = function (el) {
this._fixScrollbars('auto');
if (self.is('fullscreen')) {
self._exitFullscreen(el);
File Post.php
has 270 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
class Model_Post extends Model_Record
{
protected $_data;
Function _init
has 56 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_init: function() {
var self = this;
// disable the plugin on old browsers (including IE7 and lower)
Function init
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
init : function(object) {
if ( !$(object).attr("id") ) {
if ( $(object).attr("name") ) {
$(object).attr("id", $(object).attr("name") );