Release v0.6.2

This commit is contained in:
Chen Fengyuan 2017-03-04 16:20:43 +08:00
parent ff87ec00fb
commit 59b926ff33
10 changed files with 27 additions and 22 deletions

View File

@ -1,6 +1,11 @@
# Changelog
## 0.6.2 (Mar 4, 2017)
- Fixed the issue of touch and move problem (#63).
## 0.6.1 (Feb 18, 2017)
- Prevented the default behaviour of drag action (#63).

4
dist/viewer.css vendored
View File

@ -1,11 +1,11 @@
/*!
* Viewer.js v0.6.1
* Viewer.js v0.6.2
* https://github.com/fengyuanchen/viewerjs
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-02-18T06:33:56.595Z
* Date: 2017-03-04T08:19:00.870Z
*/
.viewer-zoom-in::before,

6
dist/viewer.js vendored
View File

@ -1,11 +1,11 @@
/*!
* Viewer.js v0.6.1
* Viewer.js v0.6.2
* https://github.com/fengyuanchen/viewerjs
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-02-18T06:33:56.595Z
* Date: 2017-03-04T08:19:00.870Z
*/
(function (global, factory) {
@ -1348,7 +1348,7 @@ var handlers = {
if (e.changedTouches) {
each(e.changedTouches, function (touch) {
extend(pointers[touch.identifier], getPointer(touch), true);
extend(pointers[touch.identifier], getPointer(touch, true));
});
} else {
extend(pointers[e.pointerId || 0], getPointer(e, true));

4
dist/viewer.min.css vendored

File diff suppressed because one or more lines are too long

6
dist/viewer.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -45,7 +45,7 @@ body {
@media (min-width: 992px) {
.docs-jumbotron h1,
.docs-jumbotron p {
margin-right: 360px;
margin-right: 380px;
}
}
@ -55,7 +55,7 @@ body {
.docs-carbonads {
font-size: .875rem;
max-width: 330px;
max-width: 360px;
padding: 1rem;
border: 1px solid #ccc;
border-radius: .25rem;

View File

@ -1,11 +1,11 @@
/*!
* Viewer.js v0.6.1
* Viewer.js v0.6.2
* https://github.com/fengyuanchen/viewerjs
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-02-18T06:33:56.595Z
* Date: 2017-03-04T08:19:00.870Z
*/
.viewer-zoom-in::before,

View File

@ -39,7 +39,7 @@
<!-- Jumbotron -->
<div class="jumbotron docs-jumbotron">
<div class="container">
<h1>Viewer.js <small class="version">v0.6.1</small></h1>
<h1>Viewer.js <small class="version">v0.6.2</small></h1>
<p class="lead">JavaScript image viewer.</p>
<div class="docs-carbonads-container">
<div class="docs-carbonads">

View File

@ -1,11 +1,11 @@
/*!
* Viewer.js v0.6.1
* Viewer.js v0.6.2
* https://github.com/fengyuanchen/viewerjs
*
* Copyright (c) 2017 Fengyuan Chen
* Released under the MIT license
*
* Date: 2017-02-18T06:33:56.595Z
* Date: 2017-03-04T08:19:00.870Z
*/
(function (global, factory) {
@ -1348,7 +1348,7 @@ var handlers = {
if (e.changedTouches) {
each(e.changedTouches, function (touch) {
extend(pointers[touch.identifier], getPointer(touch), true);
extend(pointers[touch.identifier], getPointer(touch, true));
});
} else {
extend(pointers[e.pointerId || 0], getPointer(e, true));

View File

@ -1,7 +1,7 @@
{
"name": "viewerjs",
"description": "JavaScript image viewer.",
"version": "0.6.1",
"version": "0.6.2",
"main": "dist/viewer.js",
"license": "MIT",
"repository": "fengyuanchen/viewerjs",
@ -37,13 +37,13 @@
"postbuild": "npm run compress && node build",
"prebuild": "npm run lint && npm test",
"start": "npm-run-all --parallel watch:*",
"test": "node-qunit-phantomjs test/index.html"
"test": "node-qunit-phantomjs test/index.html --timeout 10"
},
"devDependencies": {
"babel-plugin-external-helpers": "^6.22.0",
"babel-preset-es2015": "^6.22.0",
"cssnano": "^3.10.0",
"eslint": "^3.14.0",
"eslint": "^3.17.0",
"eslint-config-airbnb-base": "^10.0.1",
"eslint-plugin-import": "^2.2.0",
"node-qunit-phantomjs": "^1.5.0",
@ -54,6 +54,6 @@
"rollup": "^0.36.4",
"rollup-plugin-babel": "^2.7.1",
"rollup-watch": "^2.5.0",
"uglify-js": "^2.7.5"
"uglify-js": "^2.8.5"
}
}