Separate all the OpenLayers Element code, which is e.g. present in Util.js, and put it all together in OpenLayers.Element. That's the first step.
Create adapters for Ext-core and jQuery for instance.
Separate all the OpenLayers Element code, which is e.g. present in Util.js, and put it all together in OpenLayers.Element. That's the first step.
Create adapters for Ext-core and jQuery for instance.