Code assist, Module Pattern variation

Get help with Spket IDE.
Post Reply
meldai
Posts: 2
Joined: Sun Oct 24, 2010 9:11 am

Code assist, Module Pattern variation

Post by meldai » Sun Oct 24, 2010 9:23 am

First of all, thank you for this wonderful tool!

I'm having difficulties getting code assist to work with the following code:

Code: Select all

var Foo = (function () {
	var privateProperty = "test";
	
	function Bar() {}
	Bar.prototype.someProperty = true;
	return Bar;
})();

var foo = new Foo();

foo.
Neither foo nor Foo have any properties, same in the outline.
Is there a way to setup Spket to recognize such structure? With the help of JsDoc tags maybe?
I'm using the latest version of Spket IDE.

Thank you for your replies!

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

Re: Code assist, Module Pattern variation

Post by eric_suen » Tue Oct 26, 2010 6:44 am

this is a bug, try download http://www.agpad.com/downloads/com.spket.js_1.6.18.jar and replace the old one

meldai
Posts: 2
Joined: Sun Oct 24, 2010 9:11 am

Re: Code assist, Module Pattern variation

Post by meldai » Tue Oct 26, 2010 7:18 am

Perfect! Many thanks.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests