[Project_owners] iframe not updating

Nathaniel Jayme nbjayme at yahoo.com
Sat Dec 22 04:31:36 PST 2007


i have changed the dbSqlite.js code to this type of
pattern

var m = {
   udf_bInitialize:function()
   {
   },
   udo_test:function()
   {
	var _self_= {
		udv_test:"hello",
	};
	//--attach functions
	  _self_.udf_bTest = m._core_.udf_bTest;
	return _self_;
   }
};

m._core_ ={
  udf_bDispatch:function()
  {
  },
  udf_bTest:function()
  {
	alert(this.udv_test);
  }
};

function me(){
	var lv_otest = s;
	lv_otest.udv_test = "milo";
}

var s = m.udo_test();
me();
s.udf_bTest();


Basically, avoid using "constructors".  I have also
changed the for each ... in  codes to for (var nIndex;
nIndex < (maxLength); n++)

Thanks to this resource:

http://dev.opera.com/articles/view/efficient-javascript/

I have noticed improvement in that the course.xul page
will reload and I can also close and reopen the error
console.

Thanks for the kind assistance.  I hope I can get it
right this time.

:)

Cheers!

Nathaniel Jayme


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Project_owners mailing list