Re: Re:safeFrameUtils.js

From disqus.com, 2 Months ago, written in JavaScript, viewed 3 times. This paste is a reply to Re: Re: NodeRect.js from disqus.com - view diff
URL https://pastebin.freepbx.org/view/305f9142 Embed
Download Paste or View Raw
  1. define('core/ads/safeFrameUtils',[], function () {
  2.     'use strict';
  3.  
  4.     const isNumeric = num => num !== null && !isNaN(Number(num)) && isFinite(num);
  5.  
  6.     const min = numArray => Math.min(...numArray) || 0;
  7.  
  8.     const max = numArray => Math.max(...numArray) || 0;
  9.  
  10.     return {
  11.         min,
  12.         max,
  13.         isNumeric,
  14.     };
  15.  
  16. });
  17.  
  18. // https://c.disquscdn.com/next/next-core/core/ads/safeFrameUtils.js

Replies to Re: Re:safeFrameUtils.js rss

Title Name Language When
Re: api.js disqus.com javascript 2 Months ago.

Reply to "Re: Re:safeFrameUtils.js"

Here you can reply to the paste above