Showing 68 of 172 total issues
Function render
has 46 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var that = this,
_ = React.DOM,
__ = this.gls,
cx = React.addons.classSet,
- Create a ticketCreate a ticket
Function getInitialState
has 45 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getInitialState: function () {
return {
show: false,
options: { // pair option - command
"hasZoomIn": {
- Create a ticketCreate a ticket
Function getCategory
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getCategory: function (category) {
var that = this,
_ = React.DOM,
cx = React.addons.classSet,
data_binding = this.getBinding('data'),
- Create a ticketCreate a ticket
Function render
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var _ = React.DOM,
__ = this.gls,
binding = this.getDefaultBinding(),
preferencesBinding = this.getBinding('preferences'),
- Create a ticketCreate a ticket
Function render
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var _ = React.DOM,
that = this,
data_binding = this.getBinding('data'),
instances_binding = data_binding.sub('instances'),
- Create a ticketCreate a ticket
Function request
has 42 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request: function (options) {
var that = this,
xhr = new XMLHttpRequest(),
query = this._getQueryParams(window.location.search),
apiPort = query.hasOwnProperty('port') ? query.port : window.location.port,
- Create a ticketCreate a ticket
Function getModels
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getModels: function () {
var that = this,
_ = React.DOM,
preferencesBinding = this.getBinding('preferences'),
dataBinding = this.getBinding('data'),
- Create a ticketCreate a ticket
Function removeHandler
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
removeHandler: function () {
var that = this,
item = that.getBinding('item'),
items = that.getBinding('items'),
index = items.get().indexOf(item.get()),
- Create a ticketCreate a ticket
Function success
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
success: function (response, xhr) {
if (callback && typeof callback === 'function') {
callback(response);
}
- Create a ticketCreate a ticket
Function render
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var __ = React.DOM,
binding = this.getDefaultBinding(),
data_binding = this.getBinding('data'),
primary_filter = binding.get('primaryFilter'),
- Create a ticketCreate a ticket
Function render
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var _ = React.DOM,
__ = this.gls,
notification = this.getBinding('notification'),
index = this.props.index,
- Create a ticketCreate a ticket
Function render
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var that = this,
_ = React.DOM,
__ = this.gls,
instanceId = this.getBinding('preferences').get('leftPanelItemSelectedId'),
- Create a ticketCreate a ticket
Function getDevicesAvailable
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getDevicesAvailable: function () {
var that = this,
_ = React.DOM,
__ = this.gls,
devices_binding = that.getBinding('data').sub('devices'),
- Create a ticketCreate a ticket
Function render
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var _ = React.DOM,
binding = this.getDefaultBinding(),
title = binding.sub('metrics').get('title'),
url = binding.sub('metrics').get('url');
- Create a ticketCreate a ticket
Function getDevicesAvailable
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
getDevicesAvailable: function () {
var that = this,
_ = React.DOM,
__ = this.gls,
devices_binding = that.getBinding('data').sub('devices'),
- Create a ticketCreate a ticket
Function render
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var that = this,
_ = React.DOM,
binding = this.getDefaultBinding();
- Create a ticketCreate a ticket
Function save
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
save: function (options) {
options = options || {};
var that = this,
model = options.model,
- Create a ticketCreate a ticket
Function render
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var binding = this.getDefaultBinding(),
dataBinding = this.getBinding('data'),
_ = React.DOM,
__ = this.gls,
- Create a ticketCreate a ticket
Function render
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render: function () {
var _ = React.DOM,
binding = this.getDefaultBinding(),
cx = React.addons.classSet,
item_binding = binding,
- Create a ticketCreate a ticket
Function saveHandler
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
saveHandler: function () {
var that = this,
item = this.getBinding('item'),
items = this.getBinding('items');
- Create a ticketCreate a ticket