no code assist in inherit using call function

Get help with Spket IDE.
Post Reply
dzenbudd
Posts: 1
Joined: Thu May 27, 2010 8:51 am

no code assist in inherit using call function

Post by dzenbudd » Thu May 27, 2010 9:03 am

Dear All,

Do you know any way to use code assist for inherit, see below:

Code: Select all

function Class10() {
	this.showSub = function(a, b) {
		alert(a - b);
	}
}
function Class11() {
	this.showAdd = function(a, b) {
		alert(a + b);
	}
}
function Class2() {
	Class10.call(this);
	Class11.call(this);
}

var c2 = new Class2();
c2.showAdd(1, 2);
c2.showSub(2, 1);

c2. // <ctrl + space> nothing appear

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Re: no code assist in inherit using call function

Post by eric_suen » Mon May 31, 2010 8:21 pm

The code assist does not support this

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests