Completed
Pull Request — master (#40)
by Janis
123:40 queued 121:18
created

js/ocrpersonal.js   A

Complexity

Conditions 1
Paths 4

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
dl 0
loc 13
rs 9.4285
c 2
b 0
f 0
cc 1
nc 4
nop 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...