-
5 Jun 2007 8:33 AM #1
[1.1-beta1] Ext Stand-alone
[1.1-beta1] Ext Stand-alone
I wanted to try out the new experimental ext-base, but I'm having a problem getting started. Here's what's in the include_order.txt file:
I have included the two files and am getting the following error in firebug:Ext Stand-alone
-------------------------------------------------------------------
ext-base.js
ext-all.js (or your choice of files)
After looking at ext-base.js, I noticed that the namespaces aren't defined before they are accessed. Am I missing something?Code:Ext is not defined http://...urlremoved.../ext-base.js Line 12
-
5 Jun 2007 12:13 PM #2
Are you sure ext-base is getting pulled in? Not all the examples have been converted to use ext-base, but the couple I tried worked.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
5 Jun 2007 4:39 PM #3
From the first paragraph of INCLUDE_ORDER.txt:
All adapter related files below are located in
/adapters/<lib name>/ of this zip file.
For consistency, the built ext-base.js is located in /adapters/ext/ext-base.js
-
6 Jun 2007 7:16 AM #4
[Resolved] [1.1-beta1] Ext Stand-alone
[Resolved] [1.1-beta1] Ext Stand-alone
I had confirmed that the ext-base.js file was being pulled in, but now I realize that it was pulling in the wrong ext-base.js. After I initially read the include_order.txt file, I checked the source/adapter folder by accident, which didn't have the ext-base.js file. I then found it in the experimental folder, and that was the one I was pulling in. This didn't have the namespace initialization that the adapter/ext/ext-base.js file has.
Thank you for your help...I knew I was missing something.
BTW, I quickly tested ext-base.js in my app after replacing the ext-yui-adapter.js. So far so good. 


Reply With Quote