montagejs / collectionsjs.com Goto Github PK
View Code? Open in Web Editor NEWA site for recollecting collections and their multifarious methods.
Home Page: http://www.collectionsjs.com
A site for recollecting collections and their multifarious methods.
Home Page: http://www.collectionsjs.com
The documentation does not distinguish between static and instance methods, making pages like this confusing:
http://www.collectionsjs.com/object
For example, there are two clone methods:
Object.clone(object, depth, memo)
someCollection.clone(depth, memo)
Only the latter is shown on the documentation for Object. However, only the former is actually implemented for Object
. The latter is only available on collections.
Perhaps I'm mistaken? I'm just starting to read through the documentation to grok this library.
So that we can render the "Related" heading.
Or remove Related heading for the moment
$ npm run publish
'npm run publish' terminated by signal SIGSEGV (Address boundary error)
The stack of calls is:
collectionsjs.com/scripts/publish.js
Line 18 in 3e8726b
Weird crash going on. This must be due to a change somewhere in js-git, but sadly I don't have time to debug now. Maybe @creationix can shed some light.
Related: #10
has-key
, is this left over?I'm writing a TypeScript type definition for collections, which means I'm noticing a few flaws in the documentation.
sortedSetLog
method is in the documentation but not implemented. (http://www.collectionsjs.com/method/sorted-set-log)some
has identical documentation to every
(http://www.collectionsjs.com/method/some)every
(and some
?) claim to return true or false, but they actually return the last value returned by the callback_ should represent the last evaluated expression result.
Apparently, the domain expired yesterday and GANDI has set it to clientHold
.
Gandi does not allow domains to be renewed by someone else, otherwise, I'd have gladly done so. Can someone look into this?
No text is showing up.
We don’t really have an appropriate place to put this, but since it’s a property of all collections, maybe we can hack it into the template in a new "Properties" section.
[{ref, type, name, description}, ...]
is what we need, I think
Related: #11
In page MultiMap, I read:
which creates a new bucketsfor a given key.
However, in collection/multi-map.md, the text is correct:
which creates a new bucket for a given key.
I guess there is transformer which automatically but mistakenly replaces the whitespace in "bucket for" with an "s".
there aren't any at the moment.
The documentation on www.collectionsjs.com is not visible due to the styles.css file..
I've omitted FastMap, FastSet, Object, and Array since they won't provide much value.
Library can be extended for implementing BINARY SEARCH TREE and SEGMENTED TREE.
Can I contribute for this.
Add a github icon link to the header of the page linking back to https://github.com/montagejs/collections
To be able to quickly scan through and see the differences.
The title on http://www.collectionsjs.com/method/find-greatest-less-than is findLGreatestLessThan(value)
If necessary, since it can grow below the fold.
Under Usage we could add the require needed, e.g. var Map = require("collections/map");
This might involve change the Object and Array urls to shim-object and shim-array if we want to reuse the page ref as the module name.
It would be nice to be able to use the wonderful classes here, but not to have surprising side effects on all other modules and core code.
Is there a way to use this module without altering Array or other monkey-patch type alterations of core libraries ?
A small/dimmed link somewhere, maybe in a footer, so people can report issues on this repo and perhaps even PRs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.