Showing 1,485 of 3,294 total issues
Function _send
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _send(method, signature, varargs) {
if (!_socket) {
console.log("You must connect to the WebSocket before sending messages.");
// FUTURE: Our current implementation closes and re-opens an inspector connection whenever
Function formatHints
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function formatHints(hints, query) {
var hasMetadata = hints.some(function (token) {
return token.type || token.description;
});
Function readyToServe
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
StaticServer.prototype.readyToServe = function () {
var self = this;
var deferred = new $.Deferred();
function sanitizePort(port) {
Function _updateProcessHandler
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _updateProcessHandler(updates) {
if (!updates) {
console.warn("AutoUpdate : updates information not available.");
return;
Function BezierCurveEditor
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BezierCurveEditor($parent, bezierCurve, callback) {
// Create the DOM structure, filling in localized strings via Mustache
this.$element = $(Mustache.render(BezierCurveEditorTemplate, Strings));
$parent.append(this.$element);
Function indentFold
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function indentFold(cm, start) {
var lineText = cm.getLine(start.line), tabSize = cm.getOption("tabSize");
var lineIndent = cols(lineText, null, tabSize), collapsible = false, lineCount = cm.lineCount();
var token = cm.getTokenAt(pos(start.line, lineIndent + 1));
Function getCurrentRange
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
InlineTimingFunctionEditor.prototype.getCurrentRange = function () {
var start, end;
start = this._startBookmark.find();
if (!start) {
Function _attachHandlers
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_attachHandlers: function(inst) {
var stepMonths = this._get(inst, 'stepMonths');
var id = '#' + inst.id;
inst.dpDiv.find('[data-handler]').map(function () {
var handler = {
Function _hideDatepicker
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_hideDatepicker: function(input) {
var inst = this._curInst;
if (!inst || (input && inst != $.data(input, PROP_NAME)))
return;
if (this._datepickerShowing) {
Function _possibleChars
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_possibleChars: function (format) {
var chars = '';
var literal = false;
// Check whether a format character is doubled
var lookAhead = function(match) {
Function offsetString
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var offsetString = function(offset) {
try {
return $.datepicker.parseDate($.datepicker._get(inst, 'dateFormat'),
offset, $.datepicker._getFormatConfig(inst));
}
Function handlePointMove
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function handlePointMove(e, x, y) {
var self = e.target,
bezierEditor = self.bezierEditor;
// Helper function to redraw curve
Function serverOptions
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var serverOptions = function () {
return new Promise(function (resolve, reject) {
var server = net.createServer(function (socket) {
console.log('PHP process connected');
socket.on('end', function () {
Function _createButtons
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createButtons: function( buttons ) {
var uiDialogButtonPane, uiButtonSet,
that = this,
hasButtons = false;
Function _makeDraggable
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_makeDraggable: function() {
var that = this,
options = this.options;
function filteredUi( ui ) {
Function option
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
option: function( key, value ) {
var options = key,
parts,
curOption,
i;
Function create
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
create: function( dialog ) {
if ( this.instances.length === 0 ) {
// prevent use of anchors and inputs
// we use a setTimeout in case the overlay is created from an
// event that we're going to be cancelling (see #2804)
Function _refreshItems
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_refreshItems: function(event) {
this.items = [];
this.containers = [this];
var items = this.items;
Function cleanData
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
cleanData: function( elems ) {
var data, id,
cache = jQuery.cache,
special = jQuery.event.special,
deleteExpando = jQuery.support.deleteExpando;
Function object
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
"object": function( b, a ) {
var i, j, loop,
// Default to true
eq = true,
aProperties = [],