Skip to content
This repository has been archived by the owner on Sep 11, 2022. It is now read-only.

Stop defaults from being overwritten #104

Merged
merged 1 commit into from
Jun 25, 2014

Commits on May 28, 2014

  1. Stop $.extend overwriting defaults object.

    When using `$.extend`, the first argument object is altered, and
    since objects are copied by reference in Javascript that means the
    `defaults` object gets changed when it shouldn't and subsequent
    calls to `$().sticky()` will use previous options rather than fresh
    defaults.
    henry committed May 28, 2014
    Configuration menu
    Copy the full SHA
    8929fdf View commit details
    Browse the repository at this point in the history