src/aria/widgets/errorlist/ErrorListTemplateScript.js
function (proto) {
            // Using push instead of resetting the reference because items are not copied from proto but from the
            // parameter of tplScriptDefinition directly
            proto.ICONS.push({
                type : ariaUtilsData.TYPE_ERROR,
                icon : "std:error"
            }, {
                type : ariaUtilsData.TYPE_WARNING,
                icon : "std:warning"
            }, {
                type : ariaUtilsData.TYPE_INFO,
                icon : "std:info"
            }, {
                type : ariaUtilsData.TYPE_FATAL,
                icon : "std:error"
            }, {
                type : ariaUtilsData.TYPE_NOTYPE,
                icon : "std:info"
            }, {
                type : ariaUtilsData.TYPE_CRITICAL_WARNING,
                icon : "std:warning"
            }, {
                type : ariaUtilsData.TYPE_CONFIRMATION,
                icon : "std:confirm"
            });
        }
function (proto) {
            // Using push instead of resetting the reference because items are not copied from proto but from the
            // parameter of tplScriptDefinition directly
            proto.ICONS.push({
                type : ariaUtilsData.TYPE_ERROR,
                icon : "std:error"
            }, {
                type : ariaUtilsData.TYPE_WARNING,
                icon : "std:warning"
            }, {
                type : ariaUtilsData.TYPE_INFO,
                icon : "std:info"
            }, {
                type : ariaUtilsData.TYPE_FATAL,
                icon : "std:error"
            }, {
                type : ariaUtilsData.TYPE_NOTYPE,
                icon : "std:info"
            }, {
                type : ariaUtilsData.TYPE_CRITICAL_WARNING,
                icon : "std:warning"
            }, {
                type : ariaUtilsData.TYPE_CONFIRMATION,
                icon : "std:confirm"
            });
        }
function ( proto ) { // Using push instead of resetting the reference because items are not copied from proto but from the // parameter of tplScriptDefinition directly proto . ICONS . push ( { type : ariaUtilsData . TYPE_ERROR , icon : "std:error" } , { type : ariaUtilsData . TYPE_WARNING , icon : "std:warning" } , { type : ariaUtilsData . TYPE_INFO , icon : "std:info" } , { type : ariaUtilsData . TYPE_FATAL , icon : "std:error" } , { type : ariaUtilsData . TYPE_NOTYPE , icon : "std:info" } , { type : ariaUtilsData . TYPE_CRITICAL_WARNING , icon : "std:warning" } , { type : ariaUtilsData . TYPE_CONFIRMATION , icon : "std:confirm" } ) ; }
Initialize this class building the icons object. It's done here so we are sure that aria.utils.Data is
already loaded
@param {aria.widgets.errorlist.ErrorListTemplateScript} proto Class prototype
Initialize this class building the icons object . It s done here so we are sure that aria . utils . Data is already loaded