jackfranklin / pulldown

The minimal JavaScript package manager.
175 stars 7 forks source link

Improve sets #11

Closed sindresorhus closed 11 years ago

sindresorhus commented 11 years ago

Currently it's:

{
  "backbone" : "http://backbonejs.org/backbone-min.js",
  "underscore" : "http://underscorejs.org/underscore-min.js",
  "jquery": "http://code.jquery.com/jquery.min.js",
  "json2": "https://github.com/douglascrockford/JSON-js/raw/master/json2.js",
  "normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css",
  "raphael": "http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js",
  "reset": "http://meyerweb.com/eric/tools/css/reset/reset.css",
  "bootstrap": "http://twitter.github.com/bootstrap/assets/bootstrap.zip",
  "sets": {
    "backboneapp": ["backbone", "jquery", "underscore"]
  }

Would be more natural if it was

{
  "backbone" : "http://backbonejs.org/backbone-min.js",
  "underscore" : "http://underscorejs.org/underscore-min.js",
  "jquery": "http://code.jquery.com/jquery.min.js",
  "json2": "https://github.com/douglascrockford/JSON-js/raw/master/json2.js",
  "normalize": "https://raw.github.com/necolas/normalize.css/master/normalize.css",
  "raphael": "http://github.com/DmitryBaranovskiy/raphael/raw/master/raphael-min.js",
  "reset": "http://meyerweb.com/eric/tools/css/reset/reset.css",
  "bootstrap": "http://twitter.github.com/bootstrap/assets/bootstrap.zip",
  "backboenapp": ["backbone", "jquery", "underscore"]
}
jackfranklin commented 11 years ago

@sindresorhus thanks for this! Myself and @phuu are actually rewriting the entire thing right now that will improve a whole bunch of stuff (in my opinion) and also improve our support for sets.

tgvashworth commented 11 years ago

Literally, right now.

jackfranklin commented 11 years ago

It's now more like this @sindresorhus ! A lot has changed, so I suggest giving the README a once over. Hopefully you'll approve :+1: