-
10 May 2010 7:53 AM #1
Unanswered: Ext.Core error: line:3686
Unanswered: Ext.Core error: line:3686
Ext.DomHelper.applyStyles error
not String.prototype.trim
line:3686
----
xy5200@qq.com
-
10 May 2010 6:45 PM #2
could you please add more details?
I did a quick test with ext-core-debug.js (version 3.2.0) and found test_applyStyles failed in Style Test Suite: "Unexpected error: sample.applyStyles is not a function", maybe that is the issue, but don't have time to look into codes...
-
13 May 2010 11:12 PM #3
Sorry, I'm using ext-core-debug.js (version 3.1.0), version 3.2.0 download not found
-
13 May 2010 11:41 PM #4Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
- Answers
- 29
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
-
14 May 2010 12:13 AM #5
Code:<html> <head> <title></title> <script type="text/javascript" src="ext-core-debug.js"></script> <script type="text/javascript"> Ext.onReady(function () { var el = Ext.DomHelper.append(Ext.getBody(), { tag: 'div' }, true); Ext.DomHelper.applyStyles(el, 'padding: 5px;') }); </script> </head> <body></body> </html>


Reply With Quote