• Stars
    star
    2,369
  • Rank 18,711 (Top 0.4 %)
  • Language
    CSS
  • License
    Other
  • Created over 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

Parsley.js

Validate your forms, frontend, without writing a single line of javascript
JavaScript
9,051
star
2

validator.js

Powerful objects and strings validation in javascript for Node and the browser
JavaScript
255
star
3

gettext.js

gettext.js is a lightweight yet complete and accurate GNU gettext port for node and the browser.
JavaScript
139
star
4

Employness

Side-project: let your employees rate their day, and measure their daily satisfaction at work!
PHP
33
star
5

PdfXtractor

Convert PDFs to JPEG images like a charm!
PHP
16
star
6

BalloonNotes

Backbonejs with dualStorage (localStorage + remoteStorage) POC
JavaScript
12
star
7

copacabana

Quick prototyping node+redis+socket.io API RESTPush server for your javascript applications
JavaScript
8
star
8

uwidget

Universal Widget, easily display a API-distant collection of objects, with simple sorting and filters option.
JavaScript
6
star
9

GithubApi_v3

Very simple class I use for my pet projects
PHP
5
star
10

SfTranslationManagement

Find all your translation keys across your project, compare them to your message.yml file and see what's missing and/or what's not used anymore :)
Shell
4
star
11

SilexSocle

Another Silex Boilerplate
PHP
4
star
12

dotfiles

My personal dotfiles
Shell
3
star
13

GithubRandomCodeReview

Very early pet project: Every 5 commits, randomly ask to a team member to quickly review it!
PHP
3
star
14

quantik

Web version of GIGAMIC Quantik board game, with alpha pruning minmax IA
JavaScript
3
star
15

docker-config

My personal docker config
2
star
16

pipewatch

watch your pipe!
JavaScript
2
star
17

react-bootstrap-app

Simple personal React bootstrapped app (redux,saga,i18n,tapestry)
JavaScript
2
star
18

wisemimes

JavaScript
2
star
19

vcr-proxy

A recording/replaying proxy for your SPA functional tests
JavaScript
2
star
20

cryptofriendly

List of websites/e-commerce allowing payments with crypto coins
HTML
2
star
21

meeting-calculator

JavaScript
2
star
22

carolineetguillaume

Site du mariage
JavaScript
2
star
23

interactivity-map

JavaScript
1
star
24

covid19

Basic SIR epidemic model to evaluate the effect of confinement and covid-19
JavaScript
1
star
25

presidentielle2017

1
star
26

wisembly-test-inte

1
star