CLUDGES 646 B

123456789101112131415
  1. Things that have been moved around or changed.
  2. getFieldDottedOrArray -> ElementPath.getFieldDottedOrArray (was unattached function, now static function on ElementPath class)
  3. isAllDigits -> ElementPath.isAllDigits ( now static function )
  4. Status objects are now generic objects having a 'code' property that is a string of the error code that mongo uses (e.g. {code:'OK'}).
  5. debugString takes one argument 'level', as does debugAddSpace. Debug statements are printed to console.debug()
  6. verify is a macro function that throws an exception if the input is falsey, with the current file and lineno, so there is no need for the function itself