In-place editing with Twitter Bootstrap, jQuery UI or pure jQuery.
Assuming you have Node.js already installed.
1.Fork X-editable on github and clone it to your local mashine:
By default test run on bootstrap 3 popup version, but you can test any other build:
Live demo
http://vitalets.github.io/x-editable/demo.htmlDocumentation
http://vitalets.github.io/x-editableHow to get it
Manual download
Use http://vitalets.github.io/x-editable main page.Bower
bower install x-editable
A few steps how to start contributing.Assuming you have Node.js already installed.
1.Fork X-editable on github and clone it to your local mashine:
git clone https://github.com/<your-github-name>/x-editable.git -b dev
2.Install grunt-cli globally (if not yet):npm i -g grunt-cli
3.Install dependencies: cd x-editable
npm i
4.Make your changes: vim editable-form.js
5.Write some tests for your changes:vim /test/unit/*.js
6.Run tests in cli: grunt test
or directly in browser:grunt server
and open http://127.0.0.1:8000/testBy default test run on bootstrap 3 popup version, but you can test any other build:
- bootstrap 3
- bootstrap 2
- jquery-ui
- jquery + poshytip
- popup: http://127.0.0.1:8000/test/?f=plain&c=popup
- inline: http://127.0.0.1:8000/test/?f=plain&c=inline
Local build
To build x-editable locally please run:
Result will appear ingrunt build
dist
directory.
from https://github.com/vitalets/x-editable