Test Setup Failed
Push — master ( d00a46...d73e35 )
by
unknown
03:25
created

BaseController.loadBeforeAction   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
nop 1
1
define([
2
    'oroui/js/app/controllers/base/controller'
3
], function(BaseController) {
4
    'use strict';
5
6
    BaseController.loadBeforeAction([
7
        'jquery', 'jquery.validate'
8
    ], function($) {
9
        $.validator.loadMethod('oroshipping/js/validator/unique-product-unit-shipping-options');
10
    });
11
});
12