Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-336

Outline window doesn't always show javascript object outlines for self-invoking functions

    Details

    • Story Points:
      8

      Description

      When using self-invoking functions, sometimes the outline view doesn't show the break down of what is inside. Here is a good example: https://img.skitch.com/20110426-t2xyeearhr1hkg4xbhpc82jbqs.jpg

      var SomeTest = {
      	test: function(arg) {
      		var test = arg;
      		return test;
      	},
      	selfInvoked: (function() {
      		var api = {};
      		api.test = 'test';
      		api.someMethod = function() {
      			var blah = 'test';
      			return blah;
      		};
      		return api;
      	})()
      };
       
      var someOtherTest = (function() {
      	var api = {};
      	api.test = 'test';
      	api.someMethod = function() {
      		var blah = 'test';
      		return blah;
      	};
      	return api;
      })();
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxia Michael Xia
                Reporter:
                rblalock Rick Blalock (Inactive)
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: