Skip to content

Simple library for including a share on whatsapp button

Notifications You must be signed in to change notification settings

ongair/whaterjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whaterjs

Simple library for including a share on whatsapp button. It only appears on mobile.

Installation

Add this line to your html

	<script type="javascript" src="https://raw.github.com/kimenye/whaterjs/master/whater.js"></script>

Usage

Add this to the where you want the link to be displayed.

	<div class="whater"><a id="whatsapp"></div>

And that's it

Credits

  1. isMobile.js
  2. TinyDOM
  3. Juicer (http://cjohansen.no/en/ruby/juicer_a_css_and_javascript_packaging_tool)

Building it for yourself

  1. WhaterJS is built using uglifier
  2. Run bundle to install the uglifier gem
  3. Run [ruby build.rb]

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Simple library for including a share on whatsapp button

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published