TypeError #Object is not a function

0

As soon as I put Prototype in my project it starts to cause me an error where there was none before.

It returns me the error mentioned in the title of this line:

        if (this.map[type]) {
            for (var i in this.map[type]) {
                this.map[type][i](data); //aqui
            }
        }

Apparently there's nothing wrong, or is there?

    
asked by anonymous 17.10.2015 / 14:53

0 answers