Permalink
Commits on Feb 27, 2012
  1. Updating with latest version from TodoMVC

    As requested in #1044, here's the latest version of the Backbone.js
    Todo app as rewritten by our project.
    
    We started out with the 0.5 base and re-wrote it to cover some subtle
    best practices we thought were important. Ours, like the current one
    also uses the latest Backbone and jQuery 1.7.1. As part of the changes,
    we also introduced two differences in the UX:
    
    * When in edit mode, if a todo item is emptied and then blurred, the
    item is removed. This contrasts with the current behaviour of the app
    in the official repo at the moment which maintains the empty item in
    place (albeit looking a little broken
    http://addyosmani.com/gyazo/bbd4cd.png)
    
    * We removed the tooltip occasionally seen when a user was trying to
    add a new item. Having discussed this with developers frequently using
    the Todo app as an initial point of reference, it was a consensus that
    the notification didn't really offer that much value nor did it really
    show anything that Backbone-specific worth keeping it in for.
    
    We usually enforce examples separate concerns (Models, Views etc.) into
    their own directories pre-build, but I've reformatted it to match the
    structure your current app takes so that it can be more easily diffed.
    
    I hope it's worth considering our version for a merge. We're happy to
    take on any feedback needed to update it to address concerns you might
    have.
    committed Feb 27, 2012
  2. merging async test.

    jashkenas committed Feb 27, 2012
  3. adding additional router test

    jashkenas committed Feb 27, 2012
  4. merging in hash fixer for FF

    jashkenas committed Feb 27, 2012
  5. Add test for #1048.

    braddunbar committed Feb 27, 2012
  6. Add a test for #1052.

    braddunbar committed Feb 27, 2012
  7. Merge pull request #1048 from marat-dreizin/master

    Added ability to avoid an additional '$()' call in 'setElement' method if current 'element' is already wrapped with '$()'
    jashkenas committed Feb 27, 2012
  8. Merge pull request #1052 from Sid3Show/master

    Fix to make Backbone.sync options parameter optional again
    jashkenas committed Feb 27, 2012
Commits on Feb 25, 2012
  1. Merge pull request #1040 from braddunbar/$-docs

    Fixes #1038 - Document changes to `view.$`.
    jashkenas committed Feb 25, 2012
Commits on Feb 24, 2012
  1. Added ability to avoid an additional '$()' call in 'setElement' metho…

    …d if current 'element' is already wrapped with '$()'
    mdreizin committed Feb 24, 2012
Commits on Feb 22, 2012
Commits on Feb 19, 2012
  1. Merge pull request #1024 from braddunbar/locals

    Use local references to `Model`, `View`, etc.
    jashkenas committed Feb 19, 2012
Commits on Feb 18, 2012
  1. Merge pull request #1023 from braddunbar/events

    Clean up `Backbone.Events`.
    jashkenas committed Feb 18, 2012
  2. Clean up `Backbone.Events`.

    * Refactor `Backbone.Events` for increased clarity.
    * Update documentation to include multiple events.
    * Use `event` consistently throughout.
    braddunbar committed Feb 18, 2012
Commits on Feb 17, 2012
  1. Correct more grammar.

    braddunbar committed Feb 17, 2012
  2. Merge pull request #1022 from hswolff/grammar-fixes

    fix instances of it's to its for proper grammar
    braddunbar committed Feb 17, 2012
  3. Merge pull request #982 from braddunbar/change

    Fixes #959 - Silent changes fire `'change:attr'`.
    jashkenas committed Feb 17, 2012
  4. documentation for `changed`

    braddunbar committed Feb 17, 2012
  5. Fixes #1016 - Expose `changed`.

    * Expose `changed` as a public hash of changes.
    * Initialize `changed`, `_pending`, and `_silent`
      in the constructor instead of checking in `set`.
    * Ensure `changed` matches `attributes`.
    braddunbar committed Feb 17, 2012
  6. Fixes #959 - Silent changes fire `'change:attr'`.

    * Silent changes are tracked so `'change:attr'` can be
      fired next time `change` is called.
    * Pending changes are tracked to prevent infinite loops
      and accurately reflect nested changes.
    braddunbar committed Feb 4, 2012
Commits on Feb 16, 2012
  1. Merge pull request #1014 from OttoAllmendinger/master

    fix error message on missing event callback
    jashkenas committed Feb 16, 2012
  2. fix error message on missing event callback

    Otto Allmendinger committed Feb 16, 2012
Commits on Feb 15, 2012
  1. Merge pull request #1011 from wookiehangover/issue996

    adding test coverage for route precedence as per issue #996
    jashkenas committed Feb 15, 2012
  2. Merge pull request #1010 from braddunbar/history-start

    fixes #1003 - History is started before `navigate`
    jashkenas committed Feb 15, 2012
  3. Merge pull request #1004 from peterp/patch-2

    Proposed clarification in documentation:
    braddunbar committed Feb 15, 2012