Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-boot-admin
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
openSource
spring-boot-admin
Commits
ac46402e
Commit
ac46402e
authored
Nov 08, 2015
by
Johannes Edmeier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix eslint errors
parent
00614527
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
10 deletions
+8
-10
.eslintrc
spring-boot-admin-server-ui/.eslintrc
+3
-5
loggingCtrl.js
...oot-admin-server-ui/app/js/controller/apps/loggingCtrl.js
+2
-2
overviewCtrl.js
...ng-boot-admin-server-ui/app/js/controller/overviewCtrl.js
+1
-1
abbreviator.js
spring-boot-admin-server-ui/app/js/service/abbreviator.js
+1
-1
metricsHelper.js
spring-boot-admin-server-ui/app/js/service/metricsHelper.js
+1
-1
No files found.
spring-boot-admin-server-ui/.eslintrc
View file @
ac46402e
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
"no-dupe-keys": 2,
"no-dupe-keys": 2,
"no-else-return": 0,
"no-else-return": 0,
"no-empty": 2,
"no-empty": 2,
"no-empty-class": 2,
"no-empty-c
haracter-c
lass": 2,
"no-empty-label": 2,
"no-empty-label": 2,
"no-eq-null": 0,
"no-eq-null": 0,
"no-eval": 2,
"no-eval": 2,
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
"no-extra-boolean-cast": 2,
"no-extra-boolean-cast": 2,
"no-extra-parens": 0,
"no-extra-parens": 0,
"no-extra-semi": 2,
"no-extra-semi": 2,
"
no-extra-strict": 2
,
"
strict": [2, "global"]
,
"no-fallthrough": 2,
"no-fallthrough": 2,
"no-floating-decimal": 0,
"no-floating-decimal": 0,
"no-func-assign": 2,
"no-func-assign": 2,
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
"no-shadow": 2,
"no-shadow": 2,
"no-shadow-restricted-names": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-spaced-func": 2,
"
no-space-before-semi
": 2,
"
semi-spacing
": 2,
"no-sparse-arrays": 2,
"no-sparse-arrays": 2,
"no-sync": 0,
"no-sync": 0,
"no-ternary": 0,
"no-ternary": 0,
...
@@ -84,7 +84,6 @@
...
@@ -84,7 +84,6 @@
"no-use-before-define": 0,
"no-use-before-define": 0,
"no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
"no-warning-comments": [0, { "terms": ["todo", "fixme", "xxx"], "location": "start" }],
"no-with": 2,
"no-with": 2,
"no-wrap-func": 2,
"yoda": [2, "never"],
"yoda": [2, "never"],
"block-scoped-var": 0,
"block-scoped-var": 0,
...
@@ -119,7 +118,6 @@
...
@@ -119,7 +118,6 @@
"space-infix-ops": 2,
"space-infix-ops": 2,
"space-return-throw-case": 2,
"space-return-throw-case": 2,
"space-unary-word-ops": 0,
"space-unary-word-ops": 0,
"strict": 2,
"use-isnan": 2,
"use-isnan": 2,
"valid-jsdoc": 0,
"valid-jsdoc": 0,
"valid-typeof": 2,
"valid-typeof": 2,
...
...
spring-boot-admin-server-ui/app/js/controller/apps/loggingCtrl.js
View file @
ac46402e
...
@@ -40,7 +40,7 @@ module.exports = function ($scope, application, ApplicationLogging) {
...
@@ -40,7 +40,7 @@ module.exports = function ($scope, application, ApplicationLogging) {
$scope
.
reload
=
function
(
prefix
)
{
$scope
.
reload
=
function
(
prefix
)
{
for
(
var
i
in
$scope
.
loggers
)
{
for
(
var
i
in
$scope
.
loggers
)
{
if
(
prefix
==
null
||
prefix
===
'ROOT'
||
$scope
.
loggers
[
i
].
name
.
indexOf
(
if
(
prefix
==
=
null
||
prefix
===
'ROOT'
||
$scope
.
loggers
[
i
].
name
.
indexOf
(
prefix
)
===
0
)
{
prefix
)
===
0
)
{
$scope
.
loggers
[
i
].
level
=
null
;
$scope
.
loggers
[
i
].
level
=
null
;
}
}
...
@@ -72,7 +72,7 @@ module.exports = function ($scope, application, ApplicationLogging) {
...
@@ -72,7 +72,7 @@ module.exports = function ($scope, application, ApplicationLogging) {
}
}
},
function
(
responses
)
{
},
function
(
responses
)
{
for
(
var
j
in
responses
)
{
for
(
var
j
in
responses
)
{
if
(
responses
[
j
].
error
!=
null
)
{
if
(
responses
[
j
].
error
!=
=
null
)
{
$scope
.
error
=
responses
[
j
];
$scope
.
error
=
responses
[
j
];
break
;
break
;
}
}
...
...
spring-boot-admin-server-ui/app/js/controller/overviewCtrl.js
View file @
ac46402e
...
@@ -33,7 +33,7 @@ module.exports = function ($scope, $location, $interval, $state, $filter, Applic
...
@@ -33,7 +33,7 @@ module.exports = function ($scope, $location, $interval, $state, $filter, Applic
app
.
info
=
{};
app
.
info
=
{};
//find application in known applications and copy state --> less flickering
//find application in known applications and copy state --> less flickering
for
(
var
j
=
0
;
$scope
.
applications
!=
null
&&
j
<
$scope
.
applications
.
length
;
j
++
)
{
for
(
var
j
=
0
;
$scope
.
applications
&&
j
<
$scope
.
applications
.
length
;
j
++
)
{
if
(
app
.
id
===
$scope
.
applications
[
j
].
id
)
{
if
(
app
.
id
===
$scope
.
applications
[
j
].
id
)
{
app
.
infoShort
=
$scope
.
applications
[
j
].
infoShort
;
app
.
infoShort
=
$scope
.
applications
[
j
].
infoShort
;
app
.
infoDetails
=
$scope
.
applications
[
j
].
infoDetails
;
app
.
infoDetails
=
$scope
.
applications
[
j
].
infoDetails
;
...
...
spring-boot-admin-server-ui/app/js/service/abbreviator.js
View file @
ac46402e
...
@@ -26,7 +26,7 @@ module.exports = function () {
...
@@ -26,7 +26,7 @@ module.exports = function () {
if
(
lastIndex
!==
-
1
)
{
if
(
lastIndex
!==
-
1
)
{
dotArray
.
push
(
lastIndex
);
dotArray
.
push
(
lastIndex
);
}
}
}
while
(
lastIndex
!==
-
1
)
}
while
(
lastIndex
!==
-
1
)
;
// remove dots to preserve more than the last element
// remove dots to preserve more than the last element
for
(
var
i
=
0
;
i
<
preserveLast
-
1
;
i
++
)
{
for
(
var
i
=
0
;
i
<
preserveLast
-
1
;
i
++
)
{
...
...
spring-boot-admin-server-ui/app/js/service/metricsHelper.js
View file @
ac46402e
...
@@ -20,7 +20,7 @@ module.exports = function () {
...
@@ -20,7 +20,7 @@ module.exports = function () {
for
(
var
metric
in
metrics
)
{
for
(
var
metric
in
metrics
)
{
for
(
var
i
in
regexes
)
{
for
(
var
i
in
regexes
)
{
var
match
=
regexes
[
i
].
exec
(
metric
);
var
match
=
regexes
[
i
].
exec
(
metric
);
if
(
match
!=
null
)
{
if
(
match
!=
=
null
)
{
callbacks
[
i
](
metric
,
match
,
metrics
[
metric
]);
callbacks
[
i
](
metric
,
match
,
metrics
[
metric
]);
break
;
break
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment