Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-1346

Controller template should no longer declare args variable

    Details

    • Story Points:
      1
    • Sprint:
      2016 Sprint 01 Tooling

      Description

      Since Alloy 1.6.0 (by ALOY-1092) the compiled controllers have the following line:

      	this.args = arguments[0] || {};
      	// ..
      	var $ = this;
      

      Still, our template for new controllers has:

      var args = arguments[0] || {};
      

      Clearly this is no longer needed. The template can be emptied and the availability of $.args should be documented. I'll create a separate TIDOC ticket for that.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                batman Bruce Wayne
                Reporter:
                fokkezb Fokke Zandbergen
              • Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration