Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/guillaumepotier/Garlic.js
Automatically persist your forms' text and select field values locally, until the form is submitted.
https://github.com/guillaumepotier/Garlic.js
Last synced: 26 days ago
JSON representation
Automatically persist your forms' text and select field values locally, until the form is submitted.
- Host: GitHub
- URL: https://github.com/guillaumepotier/Garlic.js
- Owner: guillaumepotier
- License: other
- Created: 2012-11-10T15:58:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2021-11-03T09:57:46.000Z (over 2 years ago)
- Last Synced: 2024-04-15T00:14:46.946Z (about 1 month ago)
- Language: CSS
- Homepage: http://garlicjs.org/
- Size: 2.46 MB
- Stars: 2,370
- Watchers: 85
- Forks: 176
- Open Issues: 64
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
Lists
- awesome-javascript - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- my-awesome-stars - Garlic.js
- awesome-javascript-cn - Garlic.js
- awesome-stars - guillaumepotier/Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (CSS)
- awesome-stars - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (CSS)
- awesome-stars - Garlic.js
- awesome-wechat-mini-programs - 官网
- awesome-focusnetworks - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- awesome-stars - guillaumepotier/Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (CSS)
- awesome-stars - guillaumepotier/Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (others)
- awesome-stars - Garlic.js
- awesome-javascript - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- awesome-javascript-cn - 官网
- awesome-javascript - Garlic.js
- awesome-javascript-libraries - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- awesome-javascript-builds-project - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- awesome-javascript-cn - 官网
- A-collection-of-awesome-browser-side-JavaScript-libraries-resources-and-shiny-things. - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (Form Widgets / Other)
- awesome-stars - guillaumepotier/Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. (CSS)
- awesome-javascript - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. ` 📝 2 years ago` (Form Widgets [🔝](#readme))
- awesome-javascript - Garlic.js - Automatically persist your forms' text and select field values locally, until the form is submitted. - ★ 2326 (Form Widgets)
README
# Garlic.js
[![Build Status](https://secure.travis-ci.org/guillaumepotier/Garlic.js.png?branch=master)](https://travis-ci.org/guillaumepotier/Garlic.js)
Garlic.js allows you to automatically persist your forms' text and select field values locally, until the form is submitted. This way, your users don't lose any precious data if they accidentally close their tab or browser.
# Demonstration / Documentation
http://garlicjs.org/
# Version
1.4.2
See CHANGELOG for more info.
# TODO
* Improve doc and api;
* Refactorize some code;
* Work on inputs radio and textarea where there are conflicts;
* And much more, for fun!# Run tests
* In your browser: go to `tests/index.html`
* Headless tests: `npm install && npm test`# Make production minified versions
You'll need ruby, and Google Closure compiler: `gem install closure-compiler`. Then, just call:
`./bin/build.sh version` where version is the build release. eg: `./bin/build.sh 1.1.2`
They'll be created and dumped in the dist/ directory
# Contributors
* @cdmoyer
* @johnrees
* @Marfa
* @leondewey
* @willdurand
* @nashby# Used / Inspiration
* localStorageshim for IE browsers: https://github.com/mattpowell/localstorageshim by @mattpowell
* minify ruby script https://gist.github.com/765432 by @benpickles# Licence
MIT - See LICENCE.md