1. #1
    Sencha Premium Member
    Join Date
    Nov 2007
    Location
    Moore, Oklahoma
    Posts
    477
    Vote Rating
    15
    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
    477
    Vote Rating
    15
    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
    477
    Vote Rating
    15
    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,399
    Vote Rating
    128
    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
    Sencha Architect Development Team

Thread Participants: 1