You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
group addPortlet and addPortletLink and config variables into a class
convert Twinkle's 5 skin preference variables (which are hidden and do not show up on the preferences page, are basically hard coded) to class variables
Patch 2
replace addPortlet code to just process a JSON that looks like this. this will make this code much easier to read and work on. if the skin devs make a change that breaks twinkle, you just look at this JSON, inspect element in your browser, compare the two, see what changed, make the change. all the complicated logic and the 5 config variables will be deleted.
Tracking task for my refactoring of Twinkle.addPortlet() and related code
The text was updated successfully, but these errors were encountered: