javascript - sapui5/openui5 namespace mixup jQuery.sap -
i confused after 1 hour of try , error, figured out how load jquery.sap.storage namespace. trouble caused "jquery" vs "jquery". documentation says "jquery.sap.storage". filename says "jquery". required namespace "jquery", call instance "jquery". mixup between filename (matching require) , namespace name (matching instance name) typo or intention?
this not typo. jquery contained in file starting prefix "jquery". assume same pattern used in ui5/openui5 jquery related stuff. same function, jquery internally uses $ alias variable jquery. developers decided not use alias variable. ui5/openui5 makes use of proven patterns.
Comments
Post a Comment