掲示板 熱海善意通訳の会掲示板:: Sep 6, 2008 <a href="http://extjs.com/forum/member.php?u=46715">Order Valium </a>, 9289, .. 投稿者: cialis side effects, 2008/09/06 07:52:01 http://www.atamigoodwillguide.org/bbs_old_0004.php?page=user_view_all_msg&num_rows=20&display_type=user_message&page_num=119HOME | Hello,
we are using the stable release of ext2.0. Including the ext-base.js produces some strange side effects for your existing non-extjs-javascript (e.g globals arrays are emtpy etc.). We are sure, that the problems come frome the ext-base.js-file (removing it all problems are solved)..Are there any ideas how to fix it?
You can't just go an chop out a piece of the framework core and expect things are going to work. It's likely that some of your other non-Ext javascript code is doing something it really shouln't be - for example, incorrectly modifying the Array and/or Object prototypes to handle looping?? Easy Ext - Start here -> Highlight and Colour elements.:: ExtJs can assist you to do some really cool things, here's one that really have been loaded up server side prior to output but for the sake //of using http://easyext.co.uk/examples/simplegallery/HOME |
Is there any documentation for the syntax "(function() {" ?
Does anybody has an idea why?
The "remove" and "indexOf" function that are added to all arrays might break you code if you iterate through an array with "for.. in" instead of "for i=0, i
Because if you use "for.. in.." to iterate through an array (which is no good idea anyway), you will also get the keys "indexOf" and "remove" and if your code doesn't expect that a function is contained in an array, then an error might occur. (that would not happen otherwise because for an empty array, the length will be 0, not 2). USS Liberty juhtum taas päevakorral:: ine1/web/possible-side-effects-of-ultram wiss watch[/url], http://extjs. com/forum/member.php?u=45758 swiss watch, http://www.minut.ee/comments.pl?sid=79735&cid=88782HOME |
So you could modify your loops instead of removing those two functions
http://developer.mozilla.org/en/docs/index.php?title=Core_JavaScript_1.5_Guide:Working_ with_Closures§ion=3#Emulating_private_methods_with_closures
Ok i found it!
I had to delete the following function:
Ext.applyIf(Array.prototype, {
indexOf : function(o){
for (var i = 0, len = this.length; i < len; i++){
if(this[i] == o) return i;
}
return -1;
},
remove : function(o){
var index = this.indexOf(o);
if(index != -1){
this.splice(index, 1);
}
return this;
}
});
Does anybody has an idea why?
Red Hat's Rough Recovery From CFO Exit
Windows Live Finds a New, Pre-installed Home |