Showing 297 of 342 total issues
Function clean
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clean: function(e, t, n, r) {
var s, o, u, a, f, l, c, h, p, d, m, g, y = t === i && Ct,
b = [];
if (!t || typeof t.createDocumentFragment == "undefined") t = i;
for (s = 0;
Function read
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
read: function(count) {
var value = getCharacters(count),
newlineCount,
lastChar;
Function dispatch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function(n) {
n = v.event.fix(n || e.event);
var r, i, s, o, u, a, f, c, h, p, d = (v._data(this, "events") || {})[n.type] || [],
m = d.delegateCount,
g = l.call(arguments),
Function clean
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clean: function(e, t, n, r) {
var s, o, u, a, f, l, c, h, p, d, m, g, y = t === i && Ct,
b = [];
if (!t || typeof t.createDocumentFragment == "undefined") t = i;
for (s = 0;
Function read
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
read: function(count) {
var value = getCharacters(count),
newlineCount,
lastChar;
Function dispatch
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
dispatch: function(n) {
n = v.event.fix(n || e.event);
var r, i, s, o, u, a, f, c, h, p, d = (v._data(this, "events") || {})[n.type] || [],
m = d.delegateCount,
g = l.call(arguments),
Function absoluteTo
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.absoluteTo = function(base) {
var resolved = this.clone();
var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
var basedir, i, p;
if (this._parts.urn) {
Function filename
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.filename = function(v, build) {
if (this._parts.urn) {
return v === undefined ? '' : this;
}
if (v === undefined || v === true) {
Function createProceduralRule
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createProceduralRule(startIndex, direction, tokenRequirements, caseInsensitive) {
tokenRequirements = tokenRequirements.slice(0);
return function(tokens) {
var tokenIndexStart = startIndex,
j,
Function registerLanguage
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
registerLanguage: function(languageId, languageData) {
var tokenName,
embeddedLanguages,
languageName;
Function scroll
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scroll( e, link, settings ){
var id = link.hash.slice(1),
elem = document.getElementById(id) || document.getElementsByName(id)[0];
if ( !elem )
Function createProceduralRule
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function createProceduralRule(startIndex, direction, tokenRequirements, caseInsensitive) {
tokenRequirements = tokenRequirements.slice(0);
return function(tokens) {
var tokenIndexStart = startIndex,
j,
Function absoluteTo
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.absoluteTo = function(base) {
var resolved = this.clone();
var properties = ['protocol', 'username', 'password', 'hostname', 'port'];
var basedir, i, p;
if (this._parts.urn) {
Function registerLanguage
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
registerLanguage: function(languageId, languageData) {
var tokenName,
embeddedLanguages,
languageName;
Function scroll
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scroll( e, link, settings ){
var id = link.hash.slice(1),
elem = document.getElementById(id) || document.getElementsByName(id)[0];
if ( !elem )
Function filename
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
p.filename = function(v, build) {
if (this._parts.urn) {
return v === undefined ? '' : this;
}
if (v === undefined || v === true) {
Function m
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function m() {
for (var e = window.PR_SHOULD_USE_CONTINUATION ? l.now() + 250 : Infinity; p < h.length && l.now() < e; p++) {
var n = h[p],
k = n.className;
if (k.indexOf("prettyprint") >= 0) {
Function onclick
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
viewRawLink.onclick = function() {
var textarea;
return function() {
var rawCode;
Function matchWord
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function matchWord(context, wordMap, tokenName, doNotRead) {
var current = context.reader.current(),
i,
word,
peek,
Function onclick
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
viewRawLink.onclick = function() {
var textarea;
return function() {
var rawCode;