Garlic.js

Automatically persist your forms' text and select field values locally, until the form is submitted.

  • Owner: guillaumepotier/Garlic.js
  • Platform:
  • License:: Other
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Garlic.js

Build Status

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

Licence

MIT - See LICENCE.md

Main metrics

Overview
Name With Ownerguillaumepotier/Garlic.js
Primary LanguageCSS
Program languageShell (Language Count: 4)
Platform
License:Other
所有者活动
Created At2012-11-10 15:58:25
Pushed At2021-11-03 09:57:46
Last Commit At2021-11-03 10:57:46
Release Count28
Last Release Name1.4.2 (Posted on )
First Release Name0.0.1 (Posted on )
用户参与
Stargazers Count2.4k
Watchers Count84
Fork Count176
Commits Count153
Has Issues Enabled
Issues Count92
Issue Open Count58
Pull Requests Count31
Pull Requests Open Count6
Pull Requests Close Count6
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private