https://github.com/yuchi/metameric.js
A funny chainable-isation utility
https://github.com/yuchi/metameric.js
Last synced: 19 days ago
JSON representation
A funny chainable-isation utility
- Host: GitHub
- URL: https://github.com/yuchi/metameric.js
- Owner: yuchi
- Created: 2011-09-20T11:33:42.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2011-09-20T12:14:13.000Z (over 14 years ago)
- Last Synced: 2025-02-24T07:17:54.644Z (over 1 year ago)
- Language: CoffeeScript
- Homepage:
- Size: 89.8 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Metameric.js
============
MM(obj)(method,arg)(method,arg,arg)._(withresult).v
This project is a funny library (just a few lines of code) to build
chainable ...things?
It's *metameric*, every *metamer* is an execution or an access to a part
of the wrapped object.
With `.v` you can access the result of a execution/access.
With `._` you wrap `.v` for further access.
Funny, isn't id?
```javascript
MM(document)('getElementById','my-awesome-div')._('innerHTML','Hallo');
```