I'm trying to decide how to set up my functions in the prototype for my main library.
Should I use:
Library.prototype.funcA = function () {.....};
Library.prototype.fucnB = function () {.....};
etc..
or
Library.prototype = {
funcA: function () {.....},
funcB: function () {.....},
etc..
};
So basically the first choice adds all my functions to the prototype. The second option replaces the prototype with an object containing all my functions. Does it matter?