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?

sapui5 namespace mixup

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

Popular posts from this blog

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -