1. #1
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    495
    Vote Rating
    16
    Mthor will become famous soon enough

      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


    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
    495
    Vote Rating
    16
    Mthor will become famous soon enough

      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
    495
    Vote Rating
    16
    Mthor will become famous soon enough

      0  

    Default


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

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    135
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


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

Thread Participants: 1