apostrophe icon indicating copy to clipboard operation
apostrophe copied to clipboard

Pieces: pieces is calling self.newInstance which doesn't seem to exist, yet not crashing, what's the story?

Open boutell opened this issue 11 years ago • 1 comments

This ought to be a method that calls schemas.newInstance.

boutell avatar Nov 09 '15 19:11 boutell

The afterConstruct has this line:

_.defaults(self, self.manager);

Which essentially adds the default docs manager to pieces, which includes a newInstance definition that calls schemas.newInstance. This seems to work, going to close this, but let me know if you don't find this explanation satisfactory @boutell

jth- avatar Mar 31 '16 19:03 jth-