mol_plot_all 1.2.868 → 1.2.869

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web.mjs CHANGED
@@ -385,8 +385,6 @@ var $;
385
385
  function $mol_dev_format_native(obj) {
386
386
  if (typeof obj === 'undefined')
387
387
  return $.$mol_dev_format_shade('undefined');
388
- if (typeof obj !== 'object' && typeof obj !== 'function')
389
- return obj;
390
388
  return [
391
389
  'object',
392
390
  {
@@ -1010,11 +1008,11 @@ var $;
1010
1008
  return true;
1011
1009
  }
1012
1010
  function compare_buffer(left, right) {
1013
- if (left instanceof DataView)
1014
- return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1015
1011
  const len = left.byteLength;
1016
1012
  if (len !== right.byteLength)
1017
1013
  return false;
1014
+ if (left instanceof DataView)
1015
+ return compare_buffer(new Uint8Array(left.buffer, left.byteOffset, left.byteLength), new Uint8Array(right.buffer, left.byteOffset, left.byteLength));
1018
1016
  for (let i = 0; i < len; ++i) {
1019
1017
  if (left[i] !== right[i])
1020
1018
  return false;