openhub.net
Black Duck Software, Inc.
Open Hub
Follow @
OH
Sign In
Join Now
Projects
People
Organizations
Tools
Blog
BDSA
Projects
People
Projects
Organizations
N
newless
Settings
|
Report Duplicate
0
I Use This!
×
Login Required
Log in to Open Hub
Remember Me
Inactive
Commits
: Listings
Analyzed
about 4 hours
ago. based on code collected
about 4 hours
ago.
Mar 19, 2025 — Mar 19, 2026
Showing page 1 of 2
Search / Filter on:
Commit Message
Contributor
Files Modified
Lines Added
Lines Removed
Code Location
Date
Add node v6 to test matrix
Rob Brackett
More...
almost 10 years ago
Merge pull request #10 from Mr0grog/fix-license
Rob Brackett
More...
almost 10 years ago
Update license text and identifier to be more technically correct.
Rob Brackett
More...
almost 10 years ago
Merge pull request #9 from Mr0grog/travising
Rob Brackett
More...
almost 10 years ago
Add basic Travis configuration (Node.js only, no browser testing yet)
Rob Brackett
More...
almost 10 years ago
Merge pull request #8 from Mr0grog/minimize-try-catch
Rob Brackett
More...
almost 10 years ago
Avoid wrapping a constructor call in a try/catch if we know it's not necessary. Also includes some cleaned up comments.
Rob Brackett
More...
almost 10 years ago
v0.3!
Rob Brackett
More...
almost 10 years ago
Fix dependencies (somehow dev dependencies got in there!) and update dev dependencies.
Rob Brackett
More...
almost 10 years ago
Merge pull request #7 from Mr0grog/functions-inheriting-classes
Rob Brackett
More...
almost 10 years ago
Typos and minor re-wordings in README
Rob Brackett
More...
almost 10 years ago
Add TL;DR to caveats section in README.
Rob Brackett
More...
almost 10 years ago
Tweak constructor.name test to work in older IE (which doesn't support the property in the first place).
Rob Brackett
More...
almost 10 years ago
Better support `this` in functions inheriting from newless classes. If a newless *class* is called with a pre-existing instance as its context, we can't actually use that instance as the context of the constructor (an unfortunate limitation of the way ES 2015 classes behave). To try and support functions inheriting from classes, we set the prototype of `this` to the newly constructed instance. If a super constructor does binding with `this` or saves references to `this` in some kind of registry, things can still go awry. In all other cases, this resolves most issues created by the caller's `this` not being the same instance as the super constructor's `this`.
Rob Brackett
More...
almost 10 years ago
Merge pull request #5 from Mr0grog/class-support
Rob Brackett
More...
almost 10 years ago
Update copyright dates.
Rob Brackett
More...
almost 10 years ago
Further improve comments and line length
Rob Brackett
More...
almost 10 years ago
Clean up class code; add better comments.
Rob Brackett
More...
almost 10 years ago
Class support in all engines! (Needs a little cleanup, but it works.)
Rob Brackett
More...
almost 10 years ago
Restructure tests to segregate ES2015 class tests into their own file. These tests have now gotten complicated enough that trying to write them as strings to be compiled so they didn't cause syntax errors in older environments was kind of nuts. Now we just have a separate file that we load conditionally if the syntax is supported.
Rob Brackett
More...
over 10 years ago
Add ES2015 class usage to README.
Rob Brackett
More...
over 10 years ago
Roll back to previous solution with dynamic function creation -- it's actually much faster (!) in V8, the only engine where we need it. See benchmark: http://jsperf.com/new-operator-with-dynamic-function-vs-bind This reverts commit 7f7de5c70bfa4203417063019c98388be3267aba.
Rob Brackett
More...
over 10 years ago
Much better fix for classes using function.bind()!
Rob Brackett
More...
over 10 years ago
And fix for Firefox
Rob Brackett
More...
over 10 years ago
Fix for classes in WebKit by trying spread, *then* testing the function's string for being a class and trying the fallback emulation.
Rob Brackett
More...
over 10 years ago
Add real support for ES 2015 classes. In ES2015, class constructors are special in that calling them without the `new` keyword triggers an exception. This is also true when using `call` and `apply` on them. Unfortunately, that means newless's current technique for constructing objects won't work when you use the actual class syntax like so:
Rob Brackett
More...
over 10 years ago
Fix test HTML (broke when expect.js was upgraded).
Rob Brackett
More...
about 11 years ago
Update copyright dates.
Rob Brackett
More...
about 11 years ago
Add test for upcoming ES2015 class syntax. Skip if classes aren't supported in the current environment.
Rob Brackett
More...
about 11 years ago
Merge pull request #2 from Mr0grog/1-maintain-length-property
Rob Brackett
More...
about 11 years ago
←
1
2
→
This site uses cookies to give you the best possible experience. By using the site, you consent to our use of cookies. For more information, please see our
Privacy Policy
Agree