Showing 264 of 413 total issues
File jsx-transformer-0.12.2.js
has 10992 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
/** * JSXTransformer v0.12.2 */!function(e){if("object"==typeof exports&&"undefined"!=typeof module)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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.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 9
has 6131 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],9:[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 2
has 840 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./fbtransform/visitors":37,"buffer":2,"jstransform":21,"jstransform/visitors/type-syntax":33}],2:[function(_dereq_,module,exports){/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
Function 24
has 383 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../src/utils":22,"./es6-destructuring-visitors":25,"./es6-rest-param-visitors":28,"esprima-fb":9}],24:[function(_dereq_,module,exports){/** * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License");
Function 22
has 311 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./utils":22,"esprima-fb":9,"source-map":10}],22:[function(_dereq_,module,exports){/** * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License");
Function 15
has 268 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"amdefine":19}],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 16
has 257 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./array-set":11,"./base64-vlq":12,"./binary-search":14,"./util":18,"amdefine":19}],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 17
has 247 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./array-set":11,"./base64-vlq":12,"./util":18,"amdefine":19}],17:[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 36
has 209 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"jstransform":21,"jstransform/src/utils":22}],36:[function(_dereq_,module,exports){/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. *
Function 1
has 200 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
!function(e){if("object"==typeof exports&&"undefined"!=typeof module)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);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.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){/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. *
Function 19
has 191 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"amdefine":19}],19:[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 21
has 175 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],21:[function(_dereq_,module,exports){/** * Copyright 2013 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License");
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 25
has 165 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../src/utils":22,"./reserved-words-helper":32,"base62":8,"esprima-fb":9}],25:[function(_dereq_,module,exports){/** * Copyright 2014 Facebook, Inc. * * Licensed under the Apache License, Version 2.0 (the "License");
Function 34
has 160 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"../src/utils":22,"esprima-fb":9}],34:[function(_dereq_,module,exports){/** * Copyright 2013-2014, Facebook, Inc. * All rights reserved. *
Function 6
has 143 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{}],6:[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 visitReactTag
has 136 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function visitReactTag(traverse, object, path, state) { var openingElement = object.openingElement; var nameObject = openingElement.name; var attributesObject = openingElement.attributes;
Function parseObjectProperty
has 135 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function parseObjectProperty() { var token, key, id, value, param, expr, computed, marker = markerCreate(), returnType; token = lookahead;
Function 18
has 134 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
},{"./source-map-generator":16,"./util":18,"amdefine":19}],18:[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: