Permalink
Commits on May 5, 2016
  1. Merge pull request #35 from laughinghan/patch-2

    jneen committed May 5, 2016
    Fix broken link in README
Commits on May 4, 2016
Commits on Nov 16, 2014
  1. update travis urls

    http://jneen.net/
    http://jneen.net/ committed Nov 16, 2014
  2. update name in license

    http://jneen.net/
    http://jneen.net/ committed Nov 16, 2014
Commits on Aug 15, 2014
  1. Merge pull request #30 from yckart/patch-1

    jneen committed Aug 15, 2014
    Fixed shapes.js => Rectangle arguments
  2. Fixed shapes.js => rectage

    yckart committed Aug 15, 2014
    Changed properties from `width` / `height` to `w` / `h`
Commits on Jun 30, 2014
  1. use node 0.10 and 0.11 in ci

    http://jneen.net/
    http://jneen.net/ committed Jun 30, 2014
  2. rm the broken prepublish script, omg

    http://jneen.net/
    http://jneen.net/ committed Jun 30, 2014
  3. v5.1.1

    http://jneen.net/
    http://jneen.net/ committed Jun 30, 2014
Commits on Jun 25, 2014
  1. add a changelog entry for 5.1.0

    http://jneen.net/
    http://jneen.net/ committed Jun 25, 2014
Commits on Mar 9, 2014
  1. v5.1.0

    jneen committed Mar 9, 2014
  2. add build/p.commonjs.js to the package statically

    jneen committed Mar 9, 2014
    attempt at #28
Commits on Oct 31, 2013
  1. Merge pull request #25 from laughinghan/doc.Bare-comment

    jneen committed Oct 31, 2013
    Revise comments for Bare and setting its prototype
  2. Revise comments for Bare and setting its prototype

    laughinghan committed Oct 31, 2013
    Still not perfect but an improvement in some ways
Commits on Oct 29, 2013
  1. Revert "inline the hasOwnProperty check"

    jneen committed Oct 29, 2013
    This reverts commit c52a23a.
Commits on Oct 28, 2013
  1. be more defensive when setting .init to the superclass

    jneen committed Oct 28, 2013
    This only sets it when it doesn't exist anywhere on the prototype chain,
    rather than when it's set to a falsy value.
  2. inline the hasOwnProperty check

    jneen committed Oct 28, 2013
  3. Simplify check if inheriting from a non-Pjs class

    jneen committed Oct 28, 2013
    If proto.init is truthy but not a function, like 1 or something, you'll
    get a
    
        TypeError: Object 1 has no method 'apply'
    
    which I feel like is excellent behavior.
    
    If we're inheriting from a Pjs class but `proto.init` is overridden to a
    falsy value, we'll think we're inheriting from a non-Pjs class and set
    `proto.init` to the superclass constructor, which isn't the most
    defensive, fail-early thing to do, but is also what happened prior to
    this commit.
    
    Really, to be defensive in our non-pjs check, we should check
    `('init' in proto)`, so if `proto.init` is overridden to anything
    but a function it'll TypeError like above.
  4. Don't fail silently if .init isn't a function #cuttingFeatures

    jneen committed Oct 28, 2013
    Because of the check for inheriting a non-pjs class, the only way for
    that to happen is if you monkey-patch .init to something that isn't a
    function, in which case you'll get a
    
        TypeError: Object ${thing you monkey-patched .init to} has no method 'apply'
    
    which I feel like is excellent behavior.
    
    <0.4kb now!
    
    Conflicts:
    	README.md
    	src/p.js
  5. Merge pull request #21 from laughinghan/refactor.cosmetic

    jneen committed Oct 28, 2013
    Simplify and reduce minified size without reducing functionality
  6. Merge pull request #24 from laughinghan/master

    jneen committed Oct 28, 2013
    Cosmetic fixes: delete outdated comment, fix typo
  7. Inline `isObject` #cosmetic

    laughinghan committed Oct 27, 2013
    Recommend --word-diff (default regex, not '\w+|.'), and GIT_PAGER= so
    that the line in the README won't word-wrap, e.g.:
    ```sh
    $ GIT_PAGER= git show --word-diff
    ```
  8. Remove unnecessary variable and else-if #cosmetic

    laughinghan committed Oct 27, 2013
    Recommend --word-diff-regex='\w+|.' to view diff.
    
    I first noticed that we were doing isObject() twice if an object is
    passed as `def` in the first place, and in simplifying that I realized
    we didn't even need `extensions` in the first place.
    
    `for (var ext in def)` didn't make much sense so I changed the name of
    the iteration variable too.
  9. v5.0.0

    jneen committed Oct 28, 2013