Completed
Pull Request — master (#90)
by Janis
15:10
created

js/temp/ocrpersonal.js   A

Complexity

Total Complexity 2
Complexity/F 1

Size

Lines of Code 13
Function Count 2

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
wmc 2
dl 0
loc 13
rs 10
c 0
b 0
f 0
cc 0
nc 4
mnd 0
bc 2
fnc 2
bpm 1
cpm 1
noi 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A ocrpersonal.js ➔ $ 0 6 1
1
/**
2
 * nextCloud - ocr
3
 *
4
 * This file is licensed under the Affero General Public License version 3 or
5
 * later. See the COPYING file.
6
 *
7
 * @author Janis Koehr <[email protected]>
8
 * @copyright Janis Koehr 2017
9
 */
10
11
(function (OC) {
12
    'use strict';
13
14
    OC.Settings = OC.Settings || {};
15
    OC.Settings.Ocr = OC.Settings.Ocr || {};
16
17
    $(function () {
18
        var view = new OC.Settings.Ocr.View({
19
            el: $('#ocr-settings')
20
        });
21
        view.render();
22
    });
23
})(OC);
0 ignored issues
show
Bug introduced by
The variable OC seems to be never declared. If this is a global, consider adding a /** global: OC */ 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...