1.0.5 • Published 9 years ago

extended-spine-di v1.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
9 years ago

extended-spine-di

Extended spine framework with dependency-injection. It gives you ability to instantiate controllers almost like in Angular.

You can use it for example with SimQ.

Abandoned

Unfortunately I don't have any more time to maintain this repository :-(

sad cat

Installation

$ npm install extended-spine-di

Setup

Controller = require 'extended-spine-di'
Controller.init($, diContainer)

Usage

Controller = require 'extended-spine-di/Controller'

class MyController extends Controller

	constructor: (@el, http, jQuery) ->
		super


module.exports = MyController

Now your controller will have got http and jQuery services from your di container.

Tests

$ npm test

Changelog

  • 1.0.5 + Move under Carrooi organization + Abandon package

  • 1.0.3 - 1.0.4 + Some updates

  • 1.0.2 + Bug with inheritance

  • 1.0.1 + Typo in tests

  • 1.0.0 + Initial version

1.0.5

9 years ago

1.0.4

11 years ago

1.0.3

11 years ago

1.0.2

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago