PDA

View Full Version : Ext.baseCSSPrefix



jhpjhp2
1 Jun 2014, 7:42 AM
Hello, I am Jihyeok Park, an undergraduate student at KAIST.

I have a question about the documentation of ExtJS 4.2.1.
I have researched on detecting misuses of JavaScript APIs such as ExtJS by using TypeScript declaration files in DefinitelyTyped project:
https://github.com/borisyankov/DefinitelyTyped/blob/master/extjs/ExtJS.d.ts
In the project, the TypeScript declaration file of ExtJS is updated until 4.2.1 version.

My tool detected an error that references a missing object "Ext.baseCSSPrefix" in the ExtJS Calendar sample program using ExtJS 4.2.1 provided in the ExtJS official site. "Ext.baseCSSPrefix" is not defined in the TypeScript declaration file in DefinitelyTyped, and it is not defined in the ExtJS 4.2.1 documentation either:
http://docs.sencha.com/extjs/4.2.1/#
However, the object "Ext.baseCSSPrefix" is frequently used in other JavaScript Programs using the ExtJS library and the object indeed exists in the library.
Could you kindly let me know whether the documentation of ExtJS 4.2.1 accidentally misses the object "Ext.baseCSSPrefix" or whether there is a reason not to define it in the documentation?

Thank you in advance.

Best,

Gary Schlosberg
6 Jun 2014, 6:19 AM
It looks like it may have been missed, but it has been addressed in the 5.0 docs:
http://docs.sencha.com/extjs/5.0.0/apidocs/#!/api/Ext-property-baseCSSPrefix