Ask HN: What do your require in your JS framework?

https://news.ycombinator.com/item?id=432701
by invisible • 18 years ago
2 4 18 years ago

I'm working on a new JavaScript framework that will (hopefully) incite a better web. The framework has very basic functionality right now (but works well/fast). It's a more chain-friendly way of doing things:

  var x = function () {
    this.each(function (value, i) {
      value.innerHTML = i + "...";
    });
  };
  $('id1', '#id2', '.class3').show.then(x);
A great framework includes:
  * DOM selection, helpers, and manipulation
  * AJAX capabilities
  * Ease of use and documentation
  * Extension possibilities
  * Some animation framework extension
My question to the Hacker News community is what you'd consider the bare minimums I should release version 0.5 with?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com