Giter Site home page Giter Site logo

todddickerson / garlic.js Goto Github PK

View Code? Open in Web Editor NEW

This project forked from guillaumepotier/garlic.js

0.0 1.0 0.0 3.02 MB

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

Home Page: http://garlicjs.org/

License: Other

garlic.js's Introduction

#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.2.3

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: install mocha-phantomjs with npm: npm install -g mocha-phantomjs and then run ./bin/test-suite.sh

#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

#Contribute!

  • fork repository
  • add your changes to garlic.js
  • add / update tests to test suite (tests/index.html / tests/tests.js)
  • run tests (see above)
  • create new minified versions with minify script (see above)
  • make a Pull Request!

#Used / Inspiration

#Licence

MIT - See LICENCE.md

garlic.js's People

Contributors

guillaumepotier avatar cdmoyer avatar marfa avatar leondewey avatar altruity avatar johnrees avatar matthieuprat avatar travischoma avatar nashby avatar willdurand avatar

Watchers

Todd Dickerson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.