Completed
Push — master ( 108b89...0a9573 )
by Craig
06:27
created

src/lib/Zikula/Bundle/CoreBundle/Resources/public/js/polyfiller.init.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 9
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 0
nc 2
dl 0
loc 9
rs 10
c 1
b 0
f 0
wmc 1
mnd 0
bc 1
fnc 1
bpm 1
cpm 1
noi 1
1
(function($) {
2
    $.webshim.bugs.bustedValidity = !('minLength' in document.createElement('input'));
3
    $.webshims.setOptions('basePath', Zikula.Config.baseURL + Zikula.Config.baseURI + '/web/webshim/js-webshim/minified/shims/');
0 ignored issues
show
Bug introduced by
The variable Zikula seems to be never declared. If this is a global, consider adding a /** global: Zikula */ 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...
4
    $.webshims.setOptions('ajax', {
5
        method: 'GET'
6
    });
7
    $.webshims.activeLang(Zikula.Config.lang);
8
    $.webshims.polyfill(Zikula.Config.polyfillFeatures || []);
9
})(jQuery);
10