Autonomy
Autonomy

Reputation: 412

Sencha touch 2: Making changes to framework source

I'm attempting to make changes to Sencha Touch's javascript source to increase scrolling performance.

What's the standard practice for this?

I've tried changing the source in my workspace/touch/resources/src or straight up changing the sencha-touch-all-debug.js file. How do I issue a build to take these changes? I can't figure out where the build process is currently pulling the source from as my changes do not make it into the build at all.

Thanks,
Jonny

Upvotes: 1

Views: 57

Answers (1)

arthurakay
arthurakay

Reputation: 5651

There's a few ways you can attempt this, but ultimately you will create an override and include this file in your application.

Ext.define('MyApp.override.SomeClass', {
    override : 'Ext.some.Class',

    someMethod : function() {}
});

That's the recommended way. Some additional resources for you:

Upvotes: 3

Related Questions