Global Context Variables
Issues related to the var context = content || null;
problem within page-layouts have been solved. Here's how:
- In page-layouts, the original way of calculating context errors out. The following logic works and will be utilized:
var context = typeof content == 'undefined' ? null : content;
- All new
context
,contextIsPage
andcontextIsContent
member variables have been added to the baseT4Utils
object- This ensures that the context is defined globally at the start of the library
- The modules
brokerUtils
,elementInfo
andordinalIndicators
now utilize these member variables in their logic