forked from overtrue/share.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
117 changed files
with
19,598 additions
and
78 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"name": "jquery-qrcode", | ||
"main": "jquery.qrcode.min.js", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"examples", | ||
"*.html", | ||
"Makefile", | ||
"src" | ||
], | ||
"homepage": "https://github.com/gcusnieux/jquery-qrcode", | ||
"_release": "31e056e747", | ||
"_resolution": { | ||
"type": "branch", | ||
"branch": "master", | ||
"commit": "31e056e747aa539996fd3b2924c06e8c4f292ad6" | ||
}, | ||
"_source": "git://github.com/gcusnieux/jquery-qrcode.git", | ||
"_target": "*", | ||
"_originalSource": "jquery-qrcode", | ||
"_direct": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Copyright (c) 2011 Jerome Etienne, http://jetienne.com | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# jquery.qrcode.js | ||
|
||
<a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> | ||
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 <a href='http://www.d-project.com/qrcode/index.html'>library</a> | ||
which build qrcode in various language. <a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> wraps | ||
it to make it easy to include in your own code. | ||
|
||
Show, dont tell, here is a <a href='https://github.com/jeromeetienne/jquery-qrcode/blob/master/examples/basic.html'>example</a> | ||
|
||
## How to Use It | ||
|
||
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> | ||
|
||
Then create a DOM element which gonna contains the generated qrcode image. Lets say | ||
a div | ||
|
||
<div id="qrcode"></div> | ||
|
||
Then you add the *qrcode* in this container by | ||
|
||
jquery('#qrcode').qrcode("this plugin is great"); | ||
|
||
This is it. see it <a href='examples/basic.html'>live</a>. | ||
|
||
You can set the height and width of the generated qrcode: | ||
|
||
jquery('#qrcode').qrcode({width: 64,height: 64,text: "size doesn't matter"}); | ||
|
||
|
||
## Conclusion | ||
<a href='http://jeromeetienne.github.com/jquery-qrcode'>jquery.qrcode.js</a> is available on github | ||
<a href='https://github.com/jeromeetienne/jquery-qrcode'>here</a> | ||
under <a href='https://github.com/jeromeetienne/jquery-qrcode/blob/master/MIT-LICENSE.txt'>MIT license</a>. | ||
If you hit bugs, fill issues on github. | ||
Feel free to fork, modify and have fun with it :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"name": "jquery-qrcode", | ||
"version": "1.0", | ||
"main": "jquery.qrcode.min.js", | ||
"ignore": [ | ||
"**/.*", | ||
"node_modules", | ||
"bower_components", | ||
"test", | ||
"tests", | ||
"examples", | ||
"*.html", | ||
"Makefile", | ||
"src" | ||
] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{ | ||
"name": "jquery", | ||
"version": "2.1.4", | ||
"main": "dist/jquery.js", | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"build", | ||
"dist/cdn", | ||
"speed", | ||
"test", | ||
"*.md", | ||
"AUTHORS.txt", | ||
"Gruntfile.js", | ||
"package.json" | ||
], | ||
"devDependencies": { | ||
"sizzle": "2.1.1-jquery.2.1.2", | ||
"requirejs": "2.1.10", | ||
"qunit": "1.14.0", | ||
"sinon": "1.8.1" | ||
}, | ||
"keywords": [ | ||
"jquery", | ||
"javascript", | ||
"library" | ||
], | ||
"homepage": "https://github.com/jquery/jquery", | ||
"_release": "2.1.4", | ||
"_resolution": { | ||
"type": "version", | ||
"tag": "2.1.4", | ||
"commit": "7751e69b615c6eca6f783a81e292a55725af6b85" | ||
}, | ||
"_source": "git://github.com/jquery/jquery.git", | ||
"_target": "~2.1.4", | ||
"_originalSource": "jquery", | ||
"_direct": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
Copyright 2014 jQuery Foundation and other contributors | ||
http://jquery.com/ | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE | ||
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "jquery", | ||
"version": "2.1.4", | ||
"main": "dist/jquery.js", | ||
"license": "MIT", | ||
"ignore": [ | ||
"**/.*", | ||
"build", | ||
"dist/cdn", | ||
"speed", | ||
"test", | ||
"*.md", | ||
"AUTHORS.txt", | ||
"Gruntfile.js", | ||
"package.json" | ||
], | ||
"devDependencies": { | ||
"sizzle": "2.1.1-jquery.2.1.2", | ||
"requirejs": "2.1.10", | ||
"qunit": "1.14.0", | ||
"sinon": "1.8.1" | ||
}, | ||
"keywords": [ | ||
"jquery", | ||
"javascript", | ||
"library" | ||
] | ||
} |
Oops, something went wrong.