Showing 236 of 328 total issues
File JSXTransformer.js
has 9111 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/**
* JSXTransformer v0.10.0
*/
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
Function 6
has 5082 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"/Users/poshannessy/FB/code/react/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":4}],6:[function(_dereq_,module,exports){
/*
Copyright (C) 2013 Ariya Hidayat <ariya.hidayat@gmail.com>
Copyright (C) 2013 Thaddee Tyl <thaddee.tyl@gmail.com>
Copyright (C) 2012 Ariya Hidayat <ariya.hidayat@gmail.com>
Function 1
has 875 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.JSXTransformer=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){
/**
* The buffer module from node.js, for the browser.
*
* Author: Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
Function 22
has 303 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../src/utils":20,"./es6-rest-param-visitors":24,"esprima-fb":6}],22:[function(_dereq_,module,exports){
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Function 13
has 268 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"amdefine":17}],13:[function(_dereq_,module,exports){
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
Function 14
has 257 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./array-set":9,"./base64-vlq":10,"./binary-search":12,"./util":16,"amdefine":17}],14:[function(_dereq_,module,exports){
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
Function 15
has 247 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./array-set":9,"./base64-vlq":10,"./util":16,"amdefine":17}],15:[function(_dereq_,module,exports){
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
Function 20
has 228 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./utils":20,"esprima-fb":6,"source-map":8}],20:[function(_dereq_,module,exports){
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Function 29
has 199 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"esprima-fb":6,"jstransform/src/utils":20}],29:[function(_dereq_,module,exports){
/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Function 17
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"amdefine":17}],17:[function(_dereq_,module,exports){
(function (process,__filename){
/** vim: et:ts=4:sw=4:sts=4
* @license amdefine 0.1.0 Copyright (c) 2011, The Dojo Foundation All Rights Reserved.
* Available via the MIT or new BSD license.
Function amdefine
has 184 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function amdefine(module, requireFn) {
'use strict';
var defineCache = {},
loaderCache = {},
alreadyCalled = false,
Function scanPunctuator
has 171 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scanPunctuator() {
var start = index,
code = source.charCodeAt(index),
code2,
ch1 = source[index],
Function 19
has 158 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],19:[function(_dereq_,module,exports){
/**
* Copyright 2013 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Function 5
has 143 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],5:[function(_dereq_,module,exports){
(function (process){
// Copyright Joyent, Inc. and other Node contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a
Function 16
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./source-map-generator":14,"./util":16,"amdefine":17}],16:[function(_dereq_,module,exports){
/* -*- Mode: js; js-indent-level: 2; -*- */
/*
* Copyright 2011 Mozilla Foundation and contributors
* Licensed under the New BSD license. See LICENSE or:
Function 26
has 130 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../src/utils":20,"esprima-fb":6}],26:[function(_dereq_,module,exports){
/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
Function patch
has 129 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function patch() {
var wrapTracking, wrapTrackingPreserveWhitespace;
if (extra.comments) {
Function 27
has 127 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./fbtransform/visitors":30,"buffer":1,"jstransform":19,"jstransform/src/docblock":18}],27:[function(_dereq_,module,exports){
/**
* Copyright 2013-2014 Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
File generate_stuff.rb
has 372 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
if rails_version = ENV['BUNDLE_GEMFILE'].to_s.match(/rails_\d+/)
base_db_name = "lurker_app_#{rails_version}"
else
base_db_name = 'lurker_app'
end
Function scanComment
has 116 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function scanComment() {
var comment, ch, loc, start, blockComment, lineComment;
comment = '';
blockComment = false;