Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: burin/chaplin
base: b3dc5d3e2f
...
head fork: burin/chaplin
compare: b69a1ceeba
Commits on Mar 23, 2012
Mathias Schäfer molily Update to jQuery 1.7.2 9de4670
Mathias Schäfer molily Update to Backbone 0.9.2 ed3fe83
Mathias Schäfer molily Improve memory management and event handling cleanup with the new Bac…
…kbone off capabilities

CollectionView: Dispose $fallback property
Model: Dispose _silent and _pending
0c3d63b
Mathias Schäfer molily Fix indentation 3c4a136
Mathias Schäfer molily AppView:
Do not show/hide the container but the view itself
Do not route clicks on links if a modifier key was pressed
92bf93f
Mathias Schäfer molily _.extend Subscriber, not _.defaults 586f5f2
Mathias Schäfer molily Added a missing method to Facebook (loginAbort)
It was already used as Pub/Sub handler
a567791
Mathias Schäfer molily Commenting 7a49a98
Mathias Schäfer molily Added the SyncMachine which is a more complex state machine for synch…
…ronization

Deferreds are to simple for many sync actions
d7b415c
Mathias Schäfer molily Fix controller name :-) f257c23
Mathias Schäfer molily Controller: The model/collection property should not be limited to @m…
…odel/@collection.

Use the individual names instead.
Cleanup all controller properties which are disposable (easy, huh?).
e7ca43d
Luis Merino Rendez Fixes a bug that was causing any collection 'sorting' to start at the…
… wrong index within a view_collection
33cbb22
Mathias Schäfer molily Code style, compile CoffeeScript 247ecab
Mathias Schäfer molily Merge pull request #13 from moviepilot/hotfix-sort-compare
Fixes a bug that was causing any collection 'sorting' to start at the wr...
1dad18c
Mathias Schäfer molily Moved the AUTHORS out of the main README
Removed the old non-markdown AUTHORS
88202c5
Mathias Schäfer molily Added a changelog 27837af
Mathias Schäfer molily Added Paul Miller to the acknowledgements 16f4d5f
Mathias Schäfer molily Update CHANGELOG.md 7737557
Mathias Schäfer molily Changelog styling (This is not HAML or smth) 4ef9c4e
Commits on Mar 30, 2012
Mathias Schäfer molily Fix an exception due to a reference to a non-existing variable so the…
… intended exception is correctly thrown.
0a50491
Mathias Schäfer molily Fix an exception due to a reference to a non-existing variable so the…
… intended exception is correctly thrown.
ee098de
Mathias Schäfer molily Merge branch 'master' into development
Conflicts:
	coffee/views/application_view.coffee
	js/views/application_view.js
664da2f
Commits on Mar 31, 2012
Mathias Schäfer molily Remove the `shuffle` and `limit` options for `CollectionView#renderAl…
…lItems`. They don’t do what a user might expect. We would need this capability on the CollectionView-level, not only for `renderAllItems`. The current best way to apply a limit is a filter function.
d6cda0f
Mathias Schäfer molily Comments, moved the viewsByCid declaration 79f0ded
Mathias Schäfer molily More tests and changes for testability
Move registering routes and starting history to Application
Set Backbone.history in Router constructor, added start/stopHistory methods
Introduce mediator.setRouter which is callable once
Make controllers and views on AppController public for testing introspection
22b09f1
Commits on Apr 01, 2012
Mathias Schäfer molily Service providers: Added Google, added and fixed some comments/docume…
…ntation
6a670bd
Michael Irwin mdi Fixed updateBodyClasses 4413809
Mathias Schäfer molily Merge pull request #17 from mdi/development
updateBodyClasses
e638072
Mathias Schäfer molily Mixin a Subscriber into ApplicationController, added a dispose method.
At the moment it doesn’t make sense to dispose AppController, but eventually
the whole app startup should be reversible. This should also make testing easier.
Fixed a bug when publishing startupController: Correctly pass previousControllerName.
fe8288f
Mathias Schäfer molily Make SessionController (theoretically) disposable ba160d2
Mathias Schäfer molily Make ApplicationView (theoretically) disposable 1a14990
Mathias Schäfer molily Fix loading of modules i.e. fix switching from /likes/1234 to /posts dfa26d3
Mathias Schäfer molily Coding style: use this instead of @ for @[] notation 061d772
Mathias Schäfer molily Make ServiceProvider (theoretically) disposable 9adb7ca
Mathias Schäfer molily Fix a typo in a comment ab36fa9
Mathias Schäfer molily Added debug output to Application#initialize e5773c5
Mathias Schäfer molily Route: Fix event name `matchRoute` in comment 1e0c361
Mathias Schäfer molily Converted specs into CoffeeScript, added more specs especially for Ap…
…plicationController
10c83f2
Commits on Apr 02, 2012
Paul Miller paulmillr Change template syntax. 75f2de6
Commits on Apr 04, 2012
Mathias Schäfer molily Merge pull request #18 from paulmillr/change-template-syntax
Change template syntax
7446e98
Mathias Schäfer molily Removed disposal of AppController and SessionController again d65b753
Mathias Schäfer molily Comments 1a61148
Mathias Schäfer molily Split mediator in mediator and create_mediator modules
Use getters/setters for both setUser and setRouter
Improve ES5 property descriptor stuff
0522d18
Mathias Schäfer molily Remove View#preventDefault 4be99f0
Mathias Schäfer molily Use CoffeeScript binding f3beeaf
Mathias Schäfer molily Major spec overhaul:
More loose coupling
More AppController testing
Started testing AppView
b813fee
Commits on Apr 09, 2012
Brian Link cpsubrian Converts container 'append' to a configurable method. 99de682
Mathias Schäfer molily Remove unused function (Revert making core classes disposable) 2a0b170
Mathias Schäfer molily Make the Router behave more like Backbone.Router
- Escape magic characters in the pattern
- Allow to pass a RegExp as param, add matches as params[0], params[1], …
- More testing
d5d7745
Mathias Schäfer molily Added subviews implementation, restructured code, commenting ee991c5
Mathias Schäfer molily Removed a done TODO 88ee696
Mathias Schäfer molily Make Chaplin behave more like a framework.
Moved all core Chaplin classes to coffee/chaplin/
Make Application a class and derive ExampleApplication from that.
SessionController and login stuff is part of the example application.
Create app-specific utils, support and view_helper which delegate
to Chaplin counterparts.
mediator is part of the example application and sealed in ExampleApplication.
Make router and user on mediator configurable.
Moved logout button out of AppView.
d86ee32
Mathias Schäfer molily Fix context of Pub/Sub handlers b89e2e1
Mathias Schäfer molily In Ajax success handlers, check if the collection was already disposed
(we have to find a general solution for that soon)
2d36a2a
Mathias Schäfer molily Simplify Subscriber, remove additional handler store e97e278
Mathias Schäfer molily Remove router from the mediator.
Router subscribes to !router:route and !router:changeURL events.
Router mixins Subscriber and gets disposable.
13d7aa4
Mathias Schäfer molily AppController: Use params.path for history URL first
This allows setting the URL properly even if the models aren’t loaded yet
and the controller cannot create a full URL yet (with slug and so on)
Improved AppController tests
9ae0e4f
Commits on Apr 10, 2012
Mathias Schäfer molily Fix non-routable internal links, fix .go-to links, simplify handling …
…of external links
520b9f9
Mathias Schäfer molily Compile with CoffeeScript 1.3.1 774588b
Commits on Apr 11, 2012
Mathias Schäfer molily Revert "Compile with CoffeeScript 1.3.1"
This reverts commit 774588b.
b69a1ce