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
|
||||
|
||||
|
||||
[{bower.json,package.json,.eslintrc,.babelrc,.travis.yml}]
|
||||
[{package.json,.eslintrc,.babelrc,.travis.yml}]
|
||||
indent_size = 2
|
||||
|
||||
|
||||
|
||||
+5
-5
@@ -1,5 +1,5 @@
|
||||
**/build/**
|
||||
**/coverage/**
|
||||
**/dist/**
|
||||
**/vendor/**
|
||||
**/node_modules/**
|
||||
/build/
|
||||
/coverage/
|
||||
/dist/
|
||||
/vendor/
|
||||
/node_modules/
|
||||
|
||||
+5
-5
@@ -1,5 +1,5 @@
|
||||
bower_components
|
||||
build
|
||||
local
|
||||
node_modules
|
||||
npm-debug.log
|
||||
/build/
|
||||
/coverage/
|
||||
/local/
|
||||
/node_modules/
|
||||
/npm-debug.log
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 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).
|
||||
|
||||
@@ -8,7 +8,7 @@ jQuery plugin to dynamically generate QR codes. Uses [QR Code Generator][qrcode]
|
||||
## License
|
||||
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
|
||||
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
|
||||
[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
|
||||
[bower-img]: https://img.shields.io/badge/bower-lrsjng/jquery--qrcode-a0a060.svg?style=flat-square
|
||||
|
||||
[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) {
|
||||
'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 {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';
|
||||
|
||||
@@ -37,11 +37,14 @@ ghu.task('build:scripts', runtime => {
|
||||
|
||||
ghu.task('build:demo', runtime => {
|
||||
return Promise.all([
|
||||
read(`${SRC}/demo/*.jade`)
|
||||
.then(jade({pkg: runtime.pkg}))
|
||||
.then(write(mapfn.p(SRC, BUILD).s('.jade', ''), {overwrite: true})),
|
||||
read(`${SRC}/demo/*, !**/*.jade`)
|
||||
.then(write(mapfn.p(SRC, BUILD), {overwrite: true}))
|
||||
read(`${SRC}/demo/*.pug`)
|
||||
.then(pug({pkg: runtime.pkg}))
|
||||
.then(write(mapfn.p(SRC, BUILD).s('.pug', ''), {overwrite: true})),
|
||||
read(`${SRC}/demo/*, !**/*.pug`)
|
||||
.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}))
|
||||
]);
|
||||
});
|
||||
|
||||
|
||||
Generated
+6485
File diff suppressed because it is too large
Load Diff
+6
-5
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "jquery-qrcode",
|
||||
"displayName": "jQuery.qrcode",
|
||||
"version": "0.14.0",
|
||||
"title": "jQuery.qrcode",
|
||||
"version": "0.15.0",
|
||||
"description": "Generate QR codes dynamically.",
|
||||
"homepage": "https://larsjung.de/jquery-qrcode/",
|
||||
"bugs": "https://github.com/lrsjng/jquery-qrcode/issues",
|
||||
@@ -17,10 +17,11 @@
|
||||
"url": "https://github.com/lrsjng/jquery-qrcode.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "2.10.2",
|
||||
"ghu": "0.4.0"
|
||||
"eslint": "5.15.1",
|
||||
"ghu": "0.13.0",
|
||||
"jquery": "3.3.1"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.0.0"
|
||||
"node": ">=8.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,22 +3,22 @@ html(lang='en')
|
||||
head
|
||||
meta(charset='utf-8')
|
||||
meta(http-equiv='x-ua-compatible', content='ie=edge')
|
||||
title #{pkg.displayName} #{pkg.version} · Demo
|
||||
meta(name='description', content='demo for #{pkg.displayName} (#{pkg.homepage})')
|
||||
title #{pkg.title} #{pkg.version} · Demo
|
||||
meta(name='description', content=`demo for ${pkg.title} (${pkg.homepage})`)
|
||||
meta(name='viewport', content='width=device-width, initial-scale=1')
|
||||
link(rel='shortcut icon', 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='styles.css', rel='stylesheet')
|
||||
script(src='jquery.min.js')
|
||||
script(src='../jquery-qrcode-#{pkg.version}.js')
|
||||
script(src=`../jquery-qrcode-${pkg.version}.js`)
|
||||
script(src='scripts.js')
|
||||
|
||||
body
|
||||
div#container
|
||||
|
||||
div.control.left
|
||||
a#banner(href='#{pkg.homepage}') #{pkg.displayName} #{pkg.version}
|
||||
a#banner(href=pkg.homepage) #{pkg.title} #{pkg.version}
|
||||
|
||||
hr
|
||||
label(for='render') RENDER MODE
|
||||
@@ -70,7 +70,7 @@ html(lang='en')
|
||||
|
||||
hr
|
||||
label(for='label') LABEL
|
||||
input#label(type='text', value='#{pkg.displayName}')
|
||||
input#label(type='text', value=pkg.title)
|
||||
label(for='font') FONT NAME
|
||||
input#font(type='text', value='Ubuntu')
|
||||
label(for='fontcolor') FONT COLOR
|
||||
+1
-1
@@ -76,7 +76,7 @@
|
||||
jq('#download').on('click', download);
|
||||
jq('#image').on('change', onImageInput);
|
||||
jq('input, textarea, select').on('input change', update);
|
||||
jq(window).load(update);
|
||||
jq(window).on('load', update);
|
||||
update();
|
||||
}
|
||||
|
||||
|
||||
Vendored
-5
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user