Community
Participate
Working Groups
I wrote the following script: function myfunction() { return "Some string!"; } window.afunc = myfunction; I do not get code assist for this new member if I write: function run() { document.getElementById("test").innerHTML = window.a|<Ctrl+Space> } But the code will work in browser. I will get code assist proposal working as expected if I do: Window.prototype.afunc = myfunction; But this code does not work in browser.
Works in WTP 3.5.1. Checked against 7/18 build.