Project: aptanastudio
Issue APSTUD-4178: JS Outline in JS and HTML editors does not match when using the same JS code
# Create a new web project # Create a new JS file # Paste in the following content {code}(function(global) {	var iadt = function(selector, context) {	// return new Innr();	};	var Innr = function(selector, context) {	this.selector = selector;	this.version = '1.1';	};	iadt.sayHello = function() {	alert('sayHello()');	};	iadt.inner = new Innr();	iadt.prototype = iadt.inner;	global.iadt = iadt; })(window); iadt.staticfn = function() {	alert('iadt.static'); } iadt.inner.newfn = function() {	alert("newfn"); } function test() {	var c = new iadt();	iadt.staticfn();	alert(c.version);	c.newfn();	// c. --> no proposal	// iadt. --> no proposal } {code} # Create a new HTML document # Create a script element # Paste the above code into the script element The outline in JS and the outline below the script element in the HTML outline do not match (see attached images).
Story points: 5