Showing 11 of 11 total issues
File phoenix.js
has 770 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function(exports){
"use strict";
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol ? "symbol" : typeof obj; };
Function Socket
has 251 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Socket = exports.Socket = function () {
// Initializes the Socket
//
// endPoint - The string WebSocket endpoint, ie, "ws://example.com/ws",
Function Channel
has 168 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Channel = exports.Channel = function () {
function Channel(topic, params, socket) {
var _this2 = this;
_classCallCheck(this, Channel);
Function Push
has 103 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Push = function () {
// Initializes the Push
//
// channel - The Channel
Function LongPoll
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var LongPoll = exports.LongPoll = function () {
function LongPoll(endPoint) {
_classCallCheck(this, LongPoll);
this.endPoint = null;
Function Ajax
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var Ajax = exports.Ajax = function () {
function Ajax() {
_classCallCheck(this, Ajax);
}
Function Channel
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Channel(topic, params, socket) {
var _this2 = this;
_classCallCheck(this, Channel);
Function poll
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
value: function poll() {
var _this8 = this;
if (!(this.readyState === SOCKET_STATES.open || this.readyState === SOCKET_STATES.connecting)) {
return;
Function value
has 8 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
value: function xhrRequest(req, method, endPoint, accept, body, timeout, ontimeout, callback) {
Function value
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
value: function request(method, endPoint, accept, body, timeout, ontimeout, callback) {
Function value
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
value: function xdomainRequest(req, method, endPoint, body, timeout, ontimeout, callback) {