mirror of
https://github.com/lrsjng/jquery-qrcode.git
synced 2026-08-12 20:01:55 +08:00
Update deps.
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ insert_final_newline = true
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
|
||||||
[{bower.json,package.json,.eslintrc,.babelrc,.travis.yml}]
|
[{package.json,.eslintrc,.babelrc,.travis.yml}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
**/build/**
|
/build/
|
||||||
**/coverage/**
|
/coverage/
|
||||||
**/dist/**
|
/dist/
|
||||||
**/vendor/**
|
/vendor/
|
||||||
**/node_modules/**
|
/node_modules/
|
||||||
|
|||||||
+5
-5
@@ -1,5 +1,5 @@
|
|||||||
bower_components
|
/build/
|
||||||
build
|
/coverage/
|
||||||
local
|
/local/
|
||||||
node_modules
|
/node_modules/
|
||||||
npm-debug.log
|
/npm-debug.log
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# jQuery.qrcode
|
# jQuery.qrcode
|
||||||
|
|
||||||
[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github] [![bower][bower-img]][github]
|
[![license][license-img]][github] [![web][web-img]][web] [![github][github-img]][github]
|
||||||
|
|
||||||
jQuery plugin to dynamically generate QR codes. Uses [QR Code Generator][qrcode] (MIT).
|
jQuery plugin to dynamically generate QR codes. Uses [QR Code Generator][qrcode] (MIT).
|
||||||
|
|
||||||
@@ -8,7 +8,7 @@ jQuery plugin to dynamically generate QR codes. Uses [QR Code Generator][qrcode]
|
|||||||
## License
|
## License
|
||||||
The MIT License (MIT)
|
The MIT License (MIT)
|
||||||
|
|
||||||
Copyright (c) 2016 Lars Jung (https://larsjung.de)
|
Copyright (c) 2019 Lars Jung (https://larsjung.de)
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
@@ -35,6 +35,5 @@ THE SOFTWARE.
|
|||||||
[license-img]: https://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square
|
[license-img]: https://img.shields.io/badge/license-MIT-a0a060.svg?style=flat-square
|
||||||
[web-img]: https://img.shields.io/badge/web-larsjung.de/qrcode-a0a060.svg?style=flat-square
|
[web-img]: https://img.shields.io/badge/web-larsjung.de/qrcode-a0a060.svg?style=flat-square
|
||||||
[github-img]: https://img.shields.io/badge/github-lrsjng/jquery--qrcode-a0a060.svg?style=flat-square
|
[github-img]: https://img.shields.io/badge/github-lrsjng/jquery--qrcode-a0a060.svg?style=flat-square
|
||||||
[bower-img]: https://img.shields.io/badge/bower-lrsjng/jquery--qrcode-a0a060.svg?style=flat-square
|
|
||||||
|
|
||||||
[qrcode]: https://github.com/kazuhikoarase/qrcode-generator
|
[qrcode]: https://github.com/kazuhikoarase/qrcode-generator
|
||||||
|
|||||||
-19
@@ -1,19 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "jquery-qrcode",
|
|
||||||
"description": "Generate QR codes dynamically.",
|
|
||||||
"homepage": "https://larsjung.de/jquery-qrcode/",
|
|
||||||
"authors": [
|
|
||||||
"Lars Jung <lrsjng@gmail.com> (https://larsjung.de)"
|
|
||||||
],
|
|
||||||
"main": "dist/jquery.qrcode.js",
|
|
||||||
"license": "MIT",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "https://github.com/lrsjng/jquery-qrcode.git"
|
|
||||||
},
|
|
||||||
"ignore": [
|
|
||||||
"*",
|
|
||||||
"!dist/*",
|
|
||||||
"!*.md"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*! jquery-qrcode v0.14.0 - https://larsjung.de/jquery-qrcode/ */
|
/*! jquery-qrcode v0.15.0 - https://larsjung.de/jquery-qrcode/ */
|
||||||
(function (vendor_qrcode) {
|
(function (vendor_qrcode) {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
|
|||||||
Vendored
+2
-2
File diff suppressed because one or more lines are too long
@@ -1,5 +1,5 @@
|
|||||||
const {resolve, join} = require('path');
|
const {resolve, join} = require('path');
|
||||||
const {ghu, includeit, jade, jszip, mapfn, read, remove, uglify, wrap, write} = require('ghu');
|
const {ghu, includeit, pug, jszip, mapfn, read, remove, uglify, wrap, write} = require('ghu');
|
||||||
|
|
||||||
const NAME = 'jquery-qrcode';
|
const NAME = 'jquery-qrcode';
|
||||||
|
|
||||||
@@ -37,11 +37,14 @@ ghu.task('build:scripts', runtime => {
|
|||||||
|
|
||||||
ghu.task('build:demo', runtime => {
|
ghu.task('build:demo', runtime => {
|
||||||
return Promise.all([
|
return Promise.all([
|
||||||
read(`${SRC}/demo/*.jade`)
|
read(`${SRC}/demo/*.pug`)
|
||||||
.then(jade({pkg: runtime.pkg}))
|
.then(pug({pkg: runtime.pkg}))
|
||||||
.then(write(mapfn.p(SRC, BUILD).s('.jade', ''), {overwrite: true})),
|
.then(write(mapfn.p(SRC, BUILD).s('.pug', ''), {overwrite: true})),
|
||||||
read(`${SRC}/demo/*, !**/*.jade`)
|
read(`${SRC}/demo/*, !**/*.pug`)
|
||||||
.then(write(mapfn.p(SRC, BUILD), {overwrite: true}))
|
.then(write(mapfn.p(SRC, BUILD), {overwrite: true})),
|
||||||
|
|
||||||
|
read(`${ROOT}/node_modules/jquery/dist/jquery.min.js`)
|
||||||
|
.then(write(`${BUILD}/demo/jquery.min.js`, {overwrite: true}))
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
@@ -50,7 +53,7 @@ ghu.task('build:copy', () => {
|
|||||||
read(`${VENDOR}/demo/*`)
|
read(`${VENDOR}/demo/*`)
|
||||||
.then(write(mapfn.p(VENDOR, BUILD), {overwrite: true})),
|
.then(write(mapfn.p(VENDOR, BUILD), {overwrite: true})),
|
||||||
read(`${ROOT}/*.md`)
|
read(`${ROOT}/*.md`)
|
||||||
.then(write(mapfn.p(ROOT, BUILD), {overwrite: true}))
|
.then(write(mapfn.p(ROOT, BUILD), {overwrite: true}))
|
||||||
]);
|
]);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Generated
+6485
File diff suppressed because it is too large
Load Diff
+6
-5
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "jquery-qrcode",
|
"name": "jquery-qrcode",
|
||||||
"displayName": "jQuery.qrcode",
|
"title": "jQuery.qrcode",
|
||||||
"version": "0.14.0",
|
"version": "0.15.0",
|
||||||
"description": "Generate QR codes dynamically.",
|
"description": "Generate QR codes dynamically.",
|
||||||
"homepage": "https://larsjung.de/jquery-qrcode/",
|
"homepage": "https://larsjung.de/jquery-qrcode/",
|
||||||
"bugs": "https://github.com/lrsjng/jquery-qrcode/issues",
|
"bugs": "https://github.com/lrsjng/jquery-qrcode/issues",
|
||||||
@@ -17,10 +17,11 @@
|
|||||||
"url": "https://github.com/lrsjng/jquery-qrcode.git"
|
"url": "https://github.com/lrsjng/jquery-qrcode.git"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint": "2.10.2",
|
"eslint": "5.15.1",
|
||||||
"ghu": "0.4.0"
|
"ghu": "0.13.0",
|
||||||
|
"jquery": "3.3.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=6.0.0"
|
"node": ">=8.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,22 +3,22 @@ html(lang='en')
|
|||||||
head
|
head
|
||||||
meta(charset='utf-8')
|
meta(charset='utf-8')
|
||||||
meta(http-equiv='x-ua-compatible', content='ie=edge')
|
meta(http-equiv='x-ua-compatible', content='ie=edge')
|
||||||
title #{pkg.displayName} #{pkg.version} · Demo
|
title #{pkg.title} #{pkg.version} · Demo
|
||||||
meta(name='description', content='demo for #{pkg.displayName} (#{pkg.homepage})')
|
meta(name='description', content=`demo for ${pkg.title} (${pkg.homepage})`)
|
||||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||||
link(rel='shortcut icon', type='image/png', href='dummy.png')
|
link(rel='shortcut icon', type='image/png', href='dummy.png')
|
||||||
link(rel='apple-touch-icon-precomposed', type='image/png', href='dummy.png')
|
link(rel='apple-touch-icon-precomposed', type='image/png', href='dummy.png')
|
||||||
link(href='//fonts.googleapis.com/css?family=Ubuntu:300,400,700', rel='stylesheet')
|
link(href='//fonts.googleapis.com/css?family=Ubuntu:300,400,700', rel='stylesheet')
|
||||||
link(href='styles.css', rel='stylesheet')
|
link(href='styles.css', rel='stylesheet')
|
||||||
script(src='jquery.min.js')
|
script(src='jquery.min.js')
|
||||||
script(src='../jquery-qrcode-#{pkg.version}.js')
|
script(src=`../jquery-qrcode-${pkg.version}.js`)
|
||||||
script(src='scripts.js')
|
script(src='scripts.js')
|
||||||
|
|
||||||
body
|
body
|
||||||
div#container
|
div#container
|
||||||
|
|
||||||
div.control.left
|
div.control.left
|
||||||
a#banner(href='#{pkg.homepage}') #{pkg.displayName} #{pkg.version}
|
a#banner(href=pkg.homepage) #{pkg.title} #{pkg.version}
|
||||||
|
|
||||||
hr
|
hr
|
||||||
label(for='render') RENDER MODE
|
label(for='render') RENDER MODE
|
||||||
@@ -70,7 +70,7 @@ html(lang='en')
|
|||||||
|
|
||||||
hr
|
hr
|
||||||
label(for='label') LABEL
|
label(for='label') LABEL
|
||||||
input#label(type='text', value='#{pkg.displayName}')
|
input#label(type='text', value=pkg.title)
|
||||||
label(for='font') FONT NAME
|
label(for='font') FONT NAME
|
||||||
input#font(type='text', value='Ubuntu')
|
input#font(type='text', value='Ubuntu')
|
||||||
label(for='fontcolor') FONT COLOR
|
label(for='fontcolor') FONT COLOR
|
||||||
+1
-1
@@ -76,7 +76,7 @@
|
|||||||
jq('#download').on('click', download);
|
jq('#download').on('click', download);
|
||||||
jq('#image').on('change', onImageInput);
|
jq('#image').on('change', onImageInput);
|
||||||
jq('input, textarea, select').on('input change', update);
|
jq('input, textarea, select').on('input change', update);
|
||||||
jq(window).load(update);
|
jq(window).on('load', update);
|
||||||
update();
|
update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
-5
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user