Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Feb 27, 2012
  1. Updating with latest version from TodoMVC

    authored
    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.
  2. @jashkenas
  3. @jashkenas

    merging async test.

    jashkenas authored
  4. @jashkenas
  5. @jashkenas
  6. @jashkenas
  7. @jashkenas

    merging in hash fixer for FF

    jashkenas authored
  8. @braddunbar

    Add test for #1048.

    braddunbar authored
  9. @braddunbar

    Add a test for #1052.

    braddunbar authored
  10. @jashkenas

    Merge pull request #1048 from marat-dreizin/master

    jashkenas authored
    Added ability to avoid an additional '$()' call in 'setElement' method if current 'element' is already wrapped with '$()'
  11. @jashkenas
  12. @jashkenas

    Merge pull request #1052 from Sid3Show/master

    jashkenas authored
    Fix to make Backbone.sync options parameter optional again
  13. @OCannings
Commits on Feb 25, 2012
  1. @jashkenas

    Merge pull request #1040 from braddunbar/$-docs

    jashkenas authored
    Fixes #1038 - Document changes to `view.$`.
Commits on Feb 24, 2012
  1. @mdreizin

    Added ability to avoid an additional '$()' call in 'setElement' metho…

    mdreizin authored
    …d if current 'element' is already wrapped with '$()'
Commits on Feb 22, 2012
  1. @braddunbar
Commits on Feb 19, 2012
  1. @jashkenas

    Merge pull request #1024 from braddunbar/locals

    jashkenas authored
    Use local references to `Model`, `View`, etc.
Commits on Feb 18, 2012
  1. @braddunbar
  2. @jashkenas

    Merge pull request #1023 from braddunbar/events

    jashkenas authored
    Clean up `Backbone.Events`.
  3. @braddunbar

    Clean up `Backbone.Events`.

    braddunbar authored
    * Refactor `Backbone.Events` for increased clarity.
    * Update documentation to include multiple events.
    * Use `event` consistently throughout.
Commits on Feb 17, 2012
  1. @braddunbar

    Correct more grammar.

    braddunbar authored
  2. @braddunbar

    Merge pull request #1022 from hswolff/grammar-fixes

    braddunbar authored
    fix instances of it's to its for proper grammar
  3. @hswolff
  4. @jashkenas

    Merge pull request #982 from braddunbar/change

    jashkenas authored
    Fixes #959 - Silent changes fire `'change:attr'`.
  5. @braddunbar

    documentation for `changed`

    braddunbar authored
  6. @braddunbar

    Fixes #1016 - Expose `changed`.

    braddunbar authored
    * 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`.
  7. @braddunbar
  8. @braddunbar

    Fixes #959 - Silent changes fire `'change:attr'`.

    braddunbar authored
    * 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.
Commits on Feb 16, 2012
  1. @jashkenas

    Merge pull request #1014 from OttoAllmendinger/master

    jashkenas authored
    fix error message on missing event callback
  2. fix error message on missing event callback

    Otto Allmendinger authored
Commits on Feb 15, 2012
  1. @jashkenas

    Merge pull request #1011 from wookiehangover/issue996

    jashkenas authored
    adding test coverage for route precedence as per issue #996
  2. @jashkenas

    Merge pull request #1010 from braddunbar/history-start

    jashkenas authored
    fixes #1003 - History is started before `navigate`
  3. @braddunbar

    Merge pull request #1004 from peterp/patch-2

    braddunbar authored
    Proposed clarification in documentation:
  4. @wookiehangover
  5. @braddunbar
Something went wrong with that request. Please try again.