Skip to content Skip to sidebar Skip to footer

Typeerror: Undefined On Module Pattern Of Object Instances

This is kind of a follow-up to this question: How to have at least two datepickers of ui-bootstrap on a single page? It does a great job of having an elegant way to handle multip

Solution 1:

Have you tried to create the instances array in the method object?

Instead of this:

var method = {};
var instances = [];

Use this:

var method = {};
method.instances = [];

Let me know!

Post a Comment for "Typeerror: Undefined On Module Pattern Of Object Instances"