Results 1 to 2 of 2

Thread: Nitpicking: pointless double assignment in form/Basic.js

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-8545 in a recent build.
  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    13
    Vote Rating
    0
      0  

    Default Nitpicking: pointless double assignment in form/Basic.js

    Casually browsing form/Basic.js source in ExtJS 4.2.0 beta2 I saw the following code in the getValues() method:

    Code:
    if (isArray(val)) {
       values[name] = values[name] = bucket.concat(val);
    } else {
       bucket.push(val);
    }

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Vote Rating
    1272
      0  

    Default

    Thanks for the report! We will clean that bit up. I have opened a bug in our bug tracker.

Posting Permissions

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