Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 04, 2010 01:01 PM by jahu_bluszcz
Member
19 Points
18 Posts
May 04, 2010 01:01 PM|LINK
It's posssibility to get intellisense suggestion in the below scenario:
Type.registerNamespace("jMVP");
jMVP.View = function() {
this._templateOfferListDiv = $("#poweravailBody");
}
jMVP.View.prototype = {
get_templateOfferListDiv: function() {
return this._templateOfferListDiv;
jMVP.View.registerClass('jMVP.View');
jMVP.Presenter = function(view, model) {
this._view = view; // intelisense doesn,t work
this._view = new jMVP.View(); // now its works
this calsses are in the same file eg. test.js, so xml comments will not appear.
The problem is that i don't want use "new" all the time only for intellisence :) and i want get intellisense for my custom object properties and functions. Its possible?
I waiting for some help.
jahu_bluszcz
Member
19 Points
18 Posts
JavaScript Intellisense for custom object placed in one js file.
May 04, 2010 01:01 PM|LINK
It's posssibility to get intellisense suggestion in the below scenario:
Type.registerNamespace("jMVP");
jMVP.View = function() {
this._templateOfferListDiv = $("#poweravailBody");
}
jMVP.View.prototype = {
get_templateOfferListDiv: function() {
return this._templateOfferListDiv;
}
}
jMVP.View.registerClass('jMVP.View');
jMVP.Presenter = function(view, model) {
this._view = view; // intelisense doesn,t work
this._view = new jMVP.View(); // now its works
}
this calsses are in the same file eg. test.js, so xml comments will not appear.
The problem is that i don't want use "new" all the time only for intellisence :) and i want get intellisense for my custom object properties and functions. Its possible?
I waiting for some help.