Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chopping Underscore into lots of tiny modules #2849

Merged
merged 26 commits into from
Jun 26, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bff2d2a
Modularize (split the index module into lots of tiny modules)
jgonggrijp Mar 30, 2020
21e0271
Fix the circular imports
jgonggrijp Mar 30, 2020
3aa35b5
Merge latest changes from master
jgonggrijp Apr 14, 2020
5e541a0
Merge latest changes from 'master'
jgonggrijp May 6, 2020
4a90899
Replace uglify-js by terser
jgonggrijp May 7, 2020
bfd1828
Upgrade Rollup
jgonggrijp May 8, 2020
6f5b07f
Run `npm install -D docco` again
jgonggrijp May 8, 2020
97eabb9
Create a monolithic ESM bundle for client side usage
jgonggrijp May 7, 2020
ed8d5b1
Create modular AMD and CommonJS builds
jgonggrijp May 8, 2020
0dc6947
Add a modular, hyperlinked version of the annotated source
jgonggrijp May 8, 2020
4fd0386
Fix an outdated module reference
jgonggrijp May 8, 2020
9e3117e
Polish the literate source
jgonggrijp May 8, 2020
cb5f6fc
Add missing .js extensions in imports
jgonggrijp Jun 13, 2020
8d38be6
Optimize the import order for a more natural single read
jgonggrijp Jun 19, 2020
99b6969
Make the comments more self-sufficient
jgonggrijp Jun 19, 2020
109f36d
It is no longer true that _.bind defers to ES5 Function.prototype.bind
jgonggrijp Jun 19, 2020
0ee7b22
Consistently write "pass a truth test" in predicate-based functions
jgonggrijp Jun 19, 2020
2b9741f
Polish
jgonggrijp Jun 19, 2020
eacfc4d
Support anonymous imports in the linked Docco rendering
jgonggrijp Jun 19, 2020
817a58b
Move _.pick next to _.omit
jgonggrijp Jun 22, 2020
0aaa374
Revisit the sections in the index.js
jgonggrijp Jun 22, 2020
803795e
Fix the footer comments in the monolithic bundles
jgonggrijp Jun 22, 2020
f7511d2
Wrap the exports in the index.js
jgonggrijp Jun 22, 2020
443bcc0
Consistently prefix references to public functions with _.
jgonggrijp Jun 22, 2020
dcd63f2
Small words tweaks to index.js
jashkenas Jun 22, 2020
a9243da
Merge pull request #1 from jashkenas/modularized-words
jgonggrijp Jun 23, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix an outdated module reference
  • Loading branch information
jgonggrijp committed May 8, 2020
commit 4fd03864af3a1faac398482ad532d5af6a051abf
2 changes: 1 addition & 1 deletion modules/underscore.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { VERSION } from './_setup.js';

// The Underscore object. All exported functions are added to it in the
// underscore-module.js using the mixin function.
// `index-default.js` using the `_.mixin` function.
export default function _(obj) {
if (obj instanceof _) return obj;
if (!(this instanceof _)) return new _(obj);
Expand Down
2 changes: 1 addition & 1 deletion underscore-esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion underscore.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.