@nar-c

@nar-c

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: s.startsWith is not a function – Angular Kanban #101848
    nar-c
    Member

    Hi Peter,
    This issue is happening because of one js file used by us.
    I feel this should not happen in any case.
    Our own js file is something like this,
    Array.prototype.collect = function(functor) {
    var result = [];
    for (var i = 0; i < this.length; ++i) {
    var item = this[i];
    result.push(functor(item));
    }
    return result;
    };
    if (typeof Array.prototype.forEach != ‘function’) {
    Array.prototype.forEach = function (callback) {
    for (var i = 0; i < this.length; i++) {
    if (this[i]) {
    callback.apply(this, [this[i], i, this]);
    }
    }
    };
    }
    In order for Kanban to work, I had to remove this reference from the page.

Viewing 1 post (of 1 total)