Interface Design Patterns: Global Include Pattern
Developing Creative Business Solutions On ServiceNow on CodeCreative | A ServiceNow Blog
·
Jan 15, 2019
·
article
Back to Interface Design Patterns for Script Includes Introduction The Global Include pattern is simply a way of running a script file held in a Script Include. It is an odd, powerful, and potentially dangerous tool that allows for many different purposes from leveraging external javascript libraries to importing a collection of functions into the global scope, to monkey patching. One of the most useful purposes is monkey patching which allows us to modify behaviors of existing Script Includes and even ServiceNow provided classes.
View original source
https://codecreative.io/blog/interface-design-patterns-global-include-pattern/