PDA

View Full Version : Ext.ux.util



jsakalos
6 Feb 2009, 12:21 AM
I've repackaged some overrides (or better to say utility functions) I use in my extension into one file Ext.ux.util.js

If you need it, you can get it at http://extjs.eu (http://extjs.eu/source.php?file=js/Ext.ux.util.js).

Enjoy!

Scorpie
6 Feb 2009, 12:22 AM
I've repackaged some overrides I use in my extension into one file Ext.ux.util.js

If you need it, you can get it at http://extjs.eu (http://extjs.eu/source.php?file=js/Ext.ux.util.js).

Enjoy!

Nice, do you have some sort of changelist?

jsakalos
6 Feb 2009, 12:23 AM
Changelist of what?

Scorpie
6 Feb 2009, 12:26 AM
Changelist of what?

The overrides you made, and why you decided to override them? I see some comment in your code, but those do not really make clear why you are overriding some methods...

This makes it hard for a 'newbie' like me to differentiate between the original and the override methods.

jsakalos
6 Feb 2009, 12:29 AM
To be precise, these are not overrides but additions. E.g. I add method overrideIf to Ext, escape method to RegExp, couple of methods to Array, define just new method Ext.ux.util.clone and Ext.ux.util.MD5.

The policy I follow is: Do not override Ext classes unless absolutely necessary.

Scorpie
6 Feb 2009, 12:36 AM
To be precise, these are not overrides but additions. E.g. I add method overrideIf to Ext, escape method to RegExp, couple of methods to Array, define just new method Ext.ux.util.clone and Ext.ux.util.MD5.

The policy I follow is: Do not override Ext classes unless absolutely necessary.

Ah, I see the confusing part now :) Thanks :)