Test Setup Failed
Push — master ( ae6bbc...554531 )
by
unknown
04:38
created

  A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
nc 1
dl 0
loc 3
rs 10
c 1
b 0
f 1
nop 1
1
define(function(require) {
2
    'use strict';
3
4
    var BaseController = require('oroui/js/app/controllers/base/controller');
5
    var _ = require('underscore');
6
    /**
7
     * Init layout's handlers and listeners
8
     */
9
    if (_.isMobile()) {
10
        BaseController.loadBeforeAction([
11
            'oroui/js/swipe-action-manager'
12
        ], function(SwipeActionsManager) {
13
            new SwipeActionsManager('body');
0 ignored issues
show
Unused Code Best Practice introduced by
The object created with new SwipeActionsManager("body") is not used but discarded. Consider invoking another function instead of a constructor if you are doing this purely for side effects.
Loading history...
14
        });
15
    }
16
});
17