Hacker GitHub

← All repos

jneen/pjs

View on GitHub ↗ ★ 196 JavaScript

Classes for javascript that don't suck.

3 mentions on Hacker News by 2 people: 1 story, 2 comments · first 2012-01-04 · latest 2014-02-15

Mentions per year 3 mentions · busiest year 2012 (2)
20082026
  1. PJs https://github.com/jayferd/pjs is the sanest js classical inheritance library I've seen. It's very lightweight, doesn't mess with Object.prototype, and interoperates seamlessly with coffeescript classes.
  2. …not rely on this behavior, though: https://developer.mozilla.org/en/JavaScript/Reference/Global... In p.js (github.com/jayferd/pjs), I used this pattern/workaround: var Breakfast = function(args) { if (!(this instanceof Breakfast)) return…
    comment by jneen · 2012-02-14 · in JavaScript: Warts and workarounds
  3. ▲ 52
    Show HN: Classes for javascript that you'd actually use
    story by jneen · 2012-01-04 · 23 comments