Skip to content

Ordinal Indicators Failsafe

Compare
Choose a tag to compare
@joeleisner joeleisner released this 12 Oct 16:55

A new failsafe has been added to ordinalIndicators to allow for the entire library to be used within page layouts. Here's what's changed:

  • All code within pageInfo/groupInfo has been wrapped in a conditional checking to see if the global variable content is undefined
    • If content is defined, the self-executing functions will run as expected
    • If content is undefined, the self-executing functions will return objects with null key/value pairs