Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wrumsby/kingdom
The most useless DOM abstraction ever.
https://github.com/wrumsby/kingdom
Last synced: about 2 months ago
JSON representation
The most useless DOM abstraction ever.
- Host: GitHub
- URL: https://github.com/wrumsby/kingdom
- Owner: wrumsby
- Created: 2015-06-14T09:34:36.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-06-14T18:55:01.000Z (over 9 years ago)
- Last Synced: 2024-10-10T18:11:07.800Z (3 months ago)
- Language: HTML
- Size: 148 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# king-dom [![Build Status](https://travis-ci.org/wrumsby/kingDOM.svg?branch=master)](https://travis-ci.org/wrumsby/kingDOM)
The most useless DOM abstraction ever.
Please don't use this.
## Installing
With [Bower](http://bower.io/):
```bash
bower install king-dom --save
```## Usage
### 1.x API
```js
require(['king-dom'], function (king) {
var el = king('#el');
});
```### 2.x API
```js
require(['king-dom'], function (king) {
var el = king('#el')[0];
});
```