Test Setup Failed
Push — master ( 982d9a...a2862f )
by
unknown
03:40
created

comment-model.js ➔ define   B

Complexity

Conditions 1
Paths 1

Size

Total Lines 29

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 29
rs 8.8571
c 0
b 0
f 0

1 Function

Rating   Name   Duplication   Size   Complexity  
A comment-model.js ➔ ... ➔ CommentModel 0 3 1
1
define([
2
    'oroui/js/app/models/base/model'
3
], function(BaseModel) {
4
    'use strict';
5
6
    var CommentModel;
7
8
    CommentModel = BaseModel.extend({
9
        defaults: {
10
            'id': null,
11
            'message': null,
12
            'briefMessage': null,
13
            'public': false,
14
            'createdAt': null,
15
            'updatedAt': null,
16
            'permissions': null,
17
            'createdBy': null,
18
            'updatedBy': null
19
        },
20
21
22
        /**
23
         * @inheritDoc
24
         */
25
        constructor: function CommentModel() {
26
            CommentModel.__super__.constructor.apply(this, arguments);
27
        }
28
    });
29
30
    return CommentModel;
31
});
32