light-o
Minimalistic minimal prototypical OO library.
Last updated 7 years ago by killdream .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install light-o 
SYNC missed versions from official npm registry.

Light-O

Build Status Dependencies Status NPM version stable

browser support

Minimally minimal prototypical OO library.

Example

var Base = require('light-o')

var Thing = Base.clone(function() {
  this.compute = function() {
    return 42;
  }
})

var newThing = Thing.clone()
newThing.compute()
// => 42

Installing

Grab it from NPM:

$ npm install light-o

Platform support

This library assumes an ES5 environment, but can be easily supported in ES3 platforms by the use of shims. Just include es5-shim :3

Licence

Copyright (c) 2013 Quildreen Motta.

Released under the MIT licence.

Current Tags

  • 0.1.0                                ...           latest (7 years ago)

1 Versions

  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |