Simplest possible prototypal inheritance sugar. For node.js and browser.
Installation
For node.js:
npm install unterproto
For browser you must include lib/unterproto.js
into your page.
Unterproto
is AMD-aware so if you are using require.js you don't
need to add an extra shim for it.
Usage
See live example: http://jsfiddle.net/fragphace/UCEqd/.
{ var A = Unterproto; var B = A; var b = B; ; // 'bar'};
Tests
For node.js tests run:
npm test
For browser test run buster manually or try:
grunt buster