Showing 14,752 of 14,752 total issues
Function tokenLexer
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function tokenLexer(stream, state) {
var style = state.tokenize(stream, state);
var current = stream.current();
// Handle '.' connected identifiers
- Create a ticketCreate a ticket
Function blankLine
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function blankLine(state) {
// Reset linkTitle state
state.linkTitle = false;
state.linkHref = false;
state.linkText = false;
- Create a ticketCreate a ticket
Function copy
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
State.prototype.copy = function () {
var res = new State();
res.javaScriptLine = this.javaScriptLine;
res.javaScriptLineExcludesColon = this.javaScriptLineExcludesColon;
res.javaScriptArguments = this.javaScriptArguments;
- Create a ticketCreate a ticket
Function html
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function html(stream, state) {
var style = htmlMode.token(stream, state.htmlState), tag = /\btag\b/.test(style), tagName
if (tag && !/[<>\s\/]/.test(stream.current()) &&
(tagName = state.htmlState.tagName && state.htmlState.tagName.toLowerCase()) &&
tags.hasOwnProperty(tagName)) {
- Create a ticketCreate a ticket
Function rval
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function rval(state,stream,type) {
// parse stack
pushToken(state,realToken(type,stream));
- Create a ticketCreate a ticket
Function token
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token: function(stream, state) {
if (stream.sol()) {
if (state.context && state.context.align == null) state.context.align = false;
state.indent = stream.indentation();
}
- Create a ticketCreate a ticket
Function keyframes
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
states.keyframes = function(type, stream, state) {
if (stream.indentation() == "0" && ((type == "}" && startOfLine(stream)) || type == "]" || type == "hash"
|| type == "qualifier" || wordIsTag(stream.current()))) {
return popAndPass(type, stream, state);
}
- Create a ticketCreate a ticket
Function atBlock
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
states.atBlock = function(type, stream, state) {
if (type == "(") return pushContext(state, stream, "atBlock_parens");
if (type == "}" || type == ";") return popAndPass(type, stream, state);
if (type == "{") return popContext(state) && pushContext(state, stream, allowNested ? "block" : "top");
- Create a ticketCreate a ticket
Function token
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
token:function(stream,state){
if(stream.sol()){
if(state.context&&state.context.align==null)
state.context.align=false;
state.indent=stream.indentation();
- Create a ticketCreate a ticket
Function blockType
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
blockType: function(stream, state) {
var match, type;
state.layoutType = null;
if (match = stream.match(RE("type")))
- Create a ticketCreate a ticket
Function loop
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var loop = function ( o ) {
context.baseTokens = st;
var overlay = cm.state.overlays[o], i = 1, at = 0;
context.state = true;
runMode(cm, line.text, overlay.mode, context, function (end, style) {
- Create a ticketCreate a ticket
Function _createPanels
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels(port) {
let schema = fskui.genericModel;
return {
- Create a ticketCreate a ticket
Function _create
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_create(name, mandatory, type, helperText, value, vocabulary, port) {
// Create input
this.input.className = type === "checkbox" ? "form-check-input" : "form-control";
this.input.type = type;
- Create a ticketCreate a ticket
Function _createPanels
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_createPanels() {
let port = window.port || -1;
let schema = schemas.healthModel;
return {
- Create a ticketCreate a ticket
Function _advanceInputGroup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function _advanceInputGroup(parentelement) {
parentelement.addClass('bootstrap-touchspin');
var prev = originalinput.prev(),
next = originalinput.next();
- Create a ticketCreate a ticket
Function bind
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EventRelay.prototype.bind = function (decorated, container, $container) {
var self = this;
var relayEvents = [
'open', 'opening',
'close', 'closing',
- Create a ticketCreate a ticket
Function bind
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
StopPropagation.prototype.bind = function (decorated, container, $container) {
decorated.call(this, container, $container);
var stoppedEvents = [
'blur',
- Create a ticketCreate a ticket
Function select
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
SelectAdapter.prototype.select = function (data) {
var self = this;
data.selected = true;
- Create a ticketCreate a ticket
Function bind
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
StopPropagation.prototype.bind = function (decorated, container, $container) {
decorated.call(this, container, $container);
var stoppedEvents = [
'blur',
- Create a ticketCreate a ticket
Function formatDate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
formatDate: function(date, format, language){
if (!date)
return '';
if (typeof format === 'string')
format = DPGlobal.parseFormat(format);
- Create a ticketCreate a ticket