Results 1 to 4 of 4

Thread: just updated to newest build, and my controllers all have an extra comma

  1. #1
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    505
    Vote Rating
    19
      0  

    Default just updated to newest build, and my controllers all have an extra comma

    just updated to newest build, and my controllers all have an extra comma.

    designer is generating this extra comma on all controllers

    Code:
    Ext.define('CPS.controller.TitleBarButtonClick', {
        extend: 'Ext.app.Controller',
        alias: 'controller.titleBarButtonClick',
    ,
    
        refs: [
            {
                ref: 'centerRegion',
                selector: '#centerRegion'
            },
            {
                ref: 'myAccountButton',
                selector: '#titleBarMyAccountButton'
            },
            {
                ref: 'signOutButton',
                selector: '#titleBarSignOutButton'
            },
            {
                ref: 'supportButton',
                selector: '#titleBarSupportButton'
            },
            {
                ref: 'administrationButton',
                selector: '#titleBarAdministrationButton'
            },
            {
                ref: 'reportingButton',
                selector: '#titleBarReportingButton'
            },
            {
                ref: 'newAdminButton',
                selector: '#titleBarNewAdminButton'
            }
        ]

  2. #2
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    505
    Vote Rating
    19
      0  

    Default

    I really don't want to go back and redo all my controllers

  3. #3
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    505
    Vote Rating
    19
      0  

    Default

    seems to happen if I add an alias, an extra comma is generated

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Thanks, duplicate of this bug report:
    http://www.sencha.com/forum/showthre...ts-extra-comma
    Aaron Conran
    @aconran

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •