• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

divio / django-cms / #30077

11 Nov 2025 02:05PM UTC coverage: 90.251% (+0.01%) from 90.241%
#30077

push

travis-ci

web-flow
Merge 03851acbd into 609c5e043

1269 of 1993 branches covered (63.67%)

20 of 29 new or added lines in 4 files covered. (68.97%)

204 existing lines in 1 file now uncovered.

8943 of 9909 relevant lines covered (90.25%)

11.21 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

7.69
/cms/static/cms/js/polyfills/function.prototype.bind.js
1
if (!Function.prototype.bind) {
1!
2
    Function.prototype.bind = function(oThis) {
×
3
        if (typeof this !== 'function') {
×
4
            // closest thing possible to the ECMAScript 5
5
            // internal IsCallable function
6
            throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
×
7
        }
8

NEW
9
        var aArgs = Array.prototype.slice.call(arguments, 1);
×
NEW
10
        var fToBind = this;
×
NEW
11
        var fNOP = function() {};
×
NEW
12
        var fBound = function() {
×
NEW
13
            return fToBind.apply(this instanceof fNOP
×
14
                ? this
15
                : oThis,
16
            aArgs.concat(Array.prototype.slice.call(arguments)));
17
        };
18

19
        if (this.prototype) {
×
20
            // native functions don't have a prototype
21
            fNOP.prototype = this.prototype;
×
22
        }
23
        fBound.prototype = new fNOP();
×
24

25
        return fBound;
×
26
    };
27
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc