mongoose-shortid icon indicating copy to clipboard operation
mongoose-shortid copied to clipboard

The fieldname was unpurposely created as a global, causing weird mixu…

Open jouke opened this issue 9 years ago • 0 comments

…ps of fields while concurrently running the code. Fixed it by declaring 'use strict' and defining 'var key', at the same time declaring the attemptSave as a function variable

jouke avatar Aug 19 '15 10:08 jouke