Giter Club home page Giter Club logo

collectionsjs.com's People

Contributors

hthetiot avatar kriskowal avatar madssj avatar marchant avatar michaelficarra avatar simurai avatar stuk avatar vanakema avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

collectionsjs.com's Issues

Docs make no distinction between static and instance methods

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:

  • the static method: Object.clone(object, depth, memo)
  • and the instance method: 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.

npm run publish is failing

$ npm run publish
'npm run publish' terminated by signal SIGSEGV (Address boundary error)

The stack of calls is:

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.

Sort out the home page

  • Leave the search bar in the header?
  • Write a better introduction
  • Write better install instructions

Document length

Via montagejs/collections#79

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.

Missing Trees

Library can be extended for implementing BINARY SEARCH TREE and SEGMENTED TREE.
Can I contribute for this.

Add `require` snippet for each collection

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.

Write samples

  • Map
  • LruMap
  • Dict (needs improvement to avoid RangeError)
  • Set
  • Iterator

Can we prevent altering core Array?

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 ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.