Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix(ngResource): restore shallowClearAndCopy properties fitlering condition #5666

Closed
wants to merge 4 commits into from

Commits on Feb 4, 2014

  1. fix(ngResource): restore shallowClearAndCopy properties fitlering con…

    …dition
    
    Change the way properties are fitlered to create a resource from a
    JavaScript Object.
    
    in angular version >= 1.2.6 properties of a resource with a name
    beginning by a single '$' were fitlered from the created resource.
    Problem cames from the upgrade of the condition to filter properties that
    have a '$$' prefix in the shallow copy. See commit cb29632.
    
    Restore the behavior ngResource had in angular 1.2.5 and inferior
    versions.
    Thomas Belin committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    1b21c50 View commit details
    Browse the repository at this point in the history
  2. fix(Angular.js): restore shallowCopy properties fitlering condition

    in angular version >= 1.2.6 shallowCopy also filtered properties
    prefixed with a single `$`
    Problem cames from the upgrade of the condition to filter properties
    that have a '$$' prefix (See commit cb29632).
    
    Restore the behavior shallowCopy had in angular 1.2.5 and previous
    versions.
    Thomas Belin committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    1fc6c9c View commit details
    Browse the repository at this point in the history
  3. fix(Angular.js): restore shallowCopy properties fitlering condition

        in angular version >= 1.2.6 shallowCopy also filtered properties
        prefixed with a single `$`
        Problem cames from the upgrade of the condition to
        filter properties
        that have a '$$' prefix (See commit cb29632).
    
        add unit tests for the shallowCopy in AngularSpec
    Thomas Belin committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    4d5c869 View commit details
    Browse the repository at this point in the history
  4. fix(ngResource): restore shallowClearAndCopy properties fitlering co…

    …ndition
    
        Change the way properties are fitlered to create a resource
        from a
        JavaScript Object.
    
        in angular version >= 1.2.6 properties of a
        resource with a name
        beginning by a single '$' were fitlered from
        the created resource.
        Problem cames from the upgrade of the
        condition to filter properties that
        have a '$$' prefix in the shallow
        copy. See commit cb29632.
    
        add the unit tests for shallowClearAndCopy function
    Thomas Belin committed Feb 4, 2014
    Configuration menu
    Copy the full SHA
    074b5bd View commit details
    Browse the repository at this point in the history