Passed
Push — master ( fcf4b4...0a000c )
by Nicolaas
04:14
created

client/lang/en.js   A

Complexity

Total Complexity 1
Complexity/F 0

Size

Lines of Code 9
Function Count 0

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
mnd 1
bc 1
fnc 0
dl 0
loc 9
rs 10
bpm 0
cpm 0
noi 2
c 0
b 0
f 0
1
if (typeof ss === 'undefined' || typeof ss.i18n === 'undefined') {
0 ignored issues
show
Bug introduced by
The variable ss seems to be never declared. If this is a global, consider adding a /** global: ss */ comment.

This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.

To learn more about declaring variables in Javascript, see the MDN.

Loading history...
2
  /* eslint-disable-next-line no-console */
3
  console.error('Class ss.i18n not defined')
4
} else {
5
  console.log('Adding dictionary for AssetAdmin.DETAILS')
0 ignored issues
show
Debugging Code introduced by
console.log looks like debug code. Are you sure you do not want to remove it?
Loading history...
6
  ss.i18n.addDictionary('en', {
7
    'AssetAdmin.DETAILS': 'Edit Details'
8
  })
9
}
10