GitXplorerGitXplorer
M

fQuery

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
439cd511dfd82edcb7d35ffd3f54db5a0a18a368

Update readme.md

MMorklympious committed 6 years ago
Unverified
f917245fbe103ecaf1a9833e6418d38adae0cf8d

Small changes

MMorklympious committed 8 years ago
Unverified
7f5503ffda45ecea950fa4ff389bd7b46ba2a4ac

Update readme.md

MMorklympious committed 8 years ago
Unverified
e4240c7726b0313f9a8cceb1a43e6b01e69af985

regenerate docsite

MMorklympious committed 8 years ago
Unverified
47b6ce8c511702423a46ffc84c6ba7aede95ee07

Update readme.md

MMorklympious committed 8 years ago
Unverified
1c80c57deae807d1e7e2e8b808b83e9aa968a468

rename to fQuery, regenerate docs, change esdoc.json to .esdocrc

MMorklympious committed 8 years ago

README

The README file for this repository.

fQuery

I've been working on this functional implementation of jQuery.

Except it's not a functional implementation of jQuery, it's a functional implementation of:

  • DOM traversal
  • Element modification
  • Markup creation

All sort of vaguely in the style of jQuery. There's a genius in the brevity that Resig and the jQuery team have brought to the way that web developers interact with and modify the DOM. The API for fQuery is very similar in its naming conventions, the only difference being the way that these functions are called.

Documentation

Available at https://stffrd.github.io/fQuery

Why?

I wanted to make a jQuery-esque implementation that used all of my favorite parts of jQuery without all of the bloat. I decided to do this in a functional style for a few reasons:

  • Stateless functions are amazing. You can always expect the output as a function of the input.
  • Chaining - It's possible to chain these methods together a la lodash or some other functional equivalent.
  • Dogfooding - I can reuse functions I've already defined in a fairly straightforward and understandable way!

It's even ie8 compatible, too!

On the radar

  • Events