srn
7 May 2010, 11:21 AM
I am new to Ext JS, going through tutorials and stuff.
The online tutorials insist that the first lines need to include:
Ext.BLANK_IMAGE_URL = '../extjs/resources/images/default/s.gif';
Ext.onReady(function(){
...
The onReady waits to see that the image has been loaded before executing any code.
So why, when I look through all the examples in my dev folder, do I not see the BLANK_IMAGE_URL line?
For example, I'm looking at ext-3.2.1\examples\spinner\spinner.html. It calls these files:
"../../adapter/ext/ext-base.js"
"../../ext-all.js"
"../ux/Spinner.js"
"../ux/SpinnerField.js"
"spinner.js"
I would expect to see Ext.BLANK_IMAGE_URL = '../extjs/resources/images/default/s.gif';in spinner.js but it is not there. It simply starts right in the with the onReady test:
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* [email protected]
* http://www.extjs.com/license
*/
Ext.onReady(function(){
What am I missing? Is this possibly a change in functionality with v3.2.1?
The online tutorials insist that the first lines need to include:
Ext.BLANK_IMAGE_URL = '../extjs/resources/images/default/s.gif';
Ext.onReady(function(){
...
The onReady waits to see that the image has been loaded before executing any code.
So why, when I look through all the examples in my dev folder, do I not see the BLANK_IMAGE_URL line?
For example, I'm looking at ext-3.2.1\examples\spinner\spinner.html. It calls these files:
"../../adapter/ext/ext-base.js"
"../../ext-all.js"
"../ux/Spinner.js"
"../ux/SpinnerField.js"
"spinner.js"
I would expect to see Ext.BLANK_IMAGE_URL = '../extjs/resources/images/default/s.gif';in spinner.js but it is not there. It simply starts right in the with the onReady test:
/*!
* Ext JS Library 3.2.1
* Copyright(c) 2006-2010 Ext JS, Inc.
* [email protected]
* http://www.extjs.com/license
*/
Ext.onReady(function(){
What am I missing? Is this possibly a change in functionality with v3.2.1?