Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Latest commit

 

History

History
21 lines (15 loc) · 837 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 837 Bytes

Chaplin

Chaplin Service Providers

In common.js. If you want to use AMD, you’ll need to slightly change stuff.

Usage

  1. Copy controllers/session_controller to your app and init session controller in application class (new SessionController()).

  2. Copy all included lib, models and views to your directories.

  3. Add providers to your SessionController, like this:

    class SessionController extends Controller
      @serviceProviders =
        facebook: new Facebook()

Example application with the addon: https://github.com/paulmillr/ostio.