{"push_id":596937841,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"536fe43cf68d3617507782c6c2bb1092487221f4","before":"608f0f9c078cafdf9c4232dd796bdbacd1bb4595","commits":[{"sha":"5c021139bce7a0e8a3783ecea9529994b72d8902","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@google.com","name":"Alex Nicksay"},"message":"Enable animation based on navigation transitions.\n\nResponses can now send a `name` value which will be used to construct \"from\"\nand \"to\" CSS classes that will be applied during updates.  These two classes\nwill be applied with the following patterns:\n\n* `config['animation-class'] + '-from-' + _previous_name_`\n* `config['animation-class'] + '-to-' + _current_name_`\n\nThis will allow transitions to be applied based on state of the page (i.e.\nnavigating from page A to page B) instead of based on the action (i.e.\nnavigating back in the history stack).\n\nCurrently, a `name` must be sent with each part of a multipart response for it\nto be used when processing that part.  The last `name` value will be saved\nfor upcoming \"from\" classes.\n\nIn order to initialize a \"from\" class before the first SPF navigation, pages\ncan set the `data-spf-name` attribute on the `<body>` tag:\n\n```html\n<body data-spf-name=\"home\" ...>\n```\n\nProgress on #299.","distinct":true,"url":"https://api.github.com/repos/nicksay/spfjs/commits/5c021139bce7a0e8a3783ecea9529994b72d8902"},{"sha":"536fe43cf68d3617507782c6c2bb1092487221f4","author":{"email":"7c2b58e326787f100693e0a135d10e022088ae3e@gmail.com","name":"Alex Nicksay"},"message":"Merge pull request #310 from nicksay/anim-name\n\nEnable animation based on navigation transitions.","distinct":true,"url":"https://api.github.com/repos/nicksay/spfjs/commits/536fe43cf68d3617507782c6c2bb1092487221f4"}]}