diff --git a/Makefile b/Makefile index ffed74c..dedbfb9 100644 --- a/Makefile +++ b/Makefile @@ -25,10 +25,11 @@ deploy: build deployGhPage deployGhPage: rm -rf /tmp/$(PROJECT_NAME)GhPages (cd /tmp && git clone git@github.com:jeromeetienne/$(PROJECT_NAME).git $(PROJECT_NAME)GhPages) - (cd /tmp/$(PROJECT_NAME)GhPages && git push origin :gh-pages) + (cd /tmp/$(PROJECT_NAME)GhPages && git checkout gh-pages || true ) + (cd /tmp/$(PROJECT_NAME)GhPages && git push origin :gh-pages || true ) (cd /tmp/$(PROJECT_NAME)GhPages && git symbolic-ref HEAD refs/heads/gh-pages) (cd /tmp/$(PROJECT_NAME)GhPages && rm .git/index) (cd /tmp/$(PROJECT_NAME)GhPages && git clean -fdx) - cp -a examples src Makefile *.*README.md /tmp/$(PROJECT_NAME)GhPages + cp -a examples src Makefile *.* /tmp/$(PROJECT_NAME)GhPages (cd /tmp/$(PROJECT_NAME)GhPages && git add . && git commit -a -m "Another deployement" && git push origin gh-pages) #rm -rf /tmp/$(PROJECT_NAME)GhPages \ No newline at end of file diff --git a/README.md b/README.md index 88f1fec..23d177e 100644 --- a/README.md +++ b/README.md @@ -1,16 +1,19 @@ -# jQuery.qrcode.js +# jquery.qrcode.js -With jQuery.qrcode.js you can easily add qrcode to your webpages. -It is standalone, no external services which go on and off, or add latency -while loading. It is based on a library -which build qrcode in various language. jQuery.qrcode.js wraps it to make it easy -to include in your own code. +jquery.qrcode.js +is *jquery plugin for a pure browser qrcode generation*. +It allow you to easily add qrcode to your webpages. +It is standalone, less than 4k after minify+gzip, no image download. +It doesnt rely on external services which go on and off, or add latency while loading. +It is based on a library +which build qrcode in various language. jquery.qrcode.js wraps +it to make it easy to include in your own code. -Show, dont tell, here is a demo +Show, dont tell, here is a example ## How to Use It -First include it in your webpage with the usual script tag +Let me walk you thru it. First include it in your webpage with the usual script tag @@ -21,13 +24,13 @@ a div Then you add the *qrcode* in this container by - jQuery('#qrcode').qrcode("this plugin is great"); + jquery('#qrcode').qrcode("this plugin is great"); This is it. see it live. ## Conclusion - -MicroEvent.js is available on github here +jquery.qrcode.js is available on github +here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :) \ No newline at end of file diff --git a/index.html b/index.html index b7237ce..aafdb17 100644 --- a/index.html +++ b/index.html @@ -9,16 +9,18 @@
With jQuery.qrcode.js you can easily add qrcode to your webpages. It is standalone, no external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jQuery.qrcode.js wraps it to make it easy to include in your own code.
jquery.qrcode.js is jquery plugin for a pure browser qrcode generation. It allow you to easily add qrcode to your webpages. It is standalone, less than 4k after minify+gzip, no image download. It doesnt rely on external services which go on and off, or add latency while loading. It is based on a library which build qrcode in various language. jquery.qrcode.js wraps it to make it easy to include in your own code.Show, dont tell, here is a demo
Show, dont tell, here is a exampleFirst include it in your webpage with the usual script tag
Let me walk you thru it. First include it in your webpage with the usual script tag<script type="text/javascript" src="jquery.qrcode.min.js"></script>
@@ -37,7 +39,7 @@
> in this container byjQuery('#qrcode').qrcode("this plugin is great");
+ >jquery('#qrcode').qrcode("this plugin is great");
Conclusion
MicroEvent.js is available on github here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :)
jquery.qrcode.js is available on github here under MIT license. If you hit bugs, fill issues on github. Feel free to fork, modify and have fun with it :)