mirror of
https://github.com/webslides/WebSlides.git
synced 2025-08-14 09:04:50 +02:00
13
CHANGELOG.md
13
CHANGELOG.md
@@ -1,3 +1,16 @@
|
||||
# 1.4.0 (2017-08-14)
|
||||
|
||||
## Misc
|
||||
|
||||
- [[#52]((https://github.com/webslides/webslides/issues/52))] We've moved to Sass! We've migrated all of our content to sass so you can customise it a bit more easily.
|
||||
Tests! We've added tests with the awesome Jest and Travis to keep it tested.
|
||||
|
||||
## New features
|
||||
|
||||
- [[#73]((https://github.com/webslides/webslides/issues/73))] Slides Index. Press - or click on our slide count to access a fancy new index to quickly navigate to a new slide. Press + or esc to exit or click on one slide to navigate to the slide. You can also disable this feature entirely with an option. Read more
|
||||
- [[#84]((https://github.com/webslides/webslides/issues/84))] Full Screen Mode. Pressing F now toggles full screen mode to remove all the distractions from the browser. Thanks solilokiam!
|
||||
- [[#66]((https://github.com/webslides/webslides/issues/66))] New option to disable scroll to navigate.
|
||||
|
||||
# 1.3.0 (2017-04-20)
|
||||
|
||||
## Misc
|
||||
|
2400
package-lock.json
generated
2400
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "webslides",
|
||||
"version": "1.3.3",
|
||||
"version": "1.4.0",
|
||||
"description": "Making HTML presentations easy",
|
||||
"main": "static/js/webslides.js",
|
||||
"repository": {
|
||||
@@ -28,17 +28,17 @@
|
||||
},
|
||||
"homepage": "https://github.com/webslides/webslides#readme",
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^7.1.1",
|
||||
"autoprefixer": "^7.1.2",
|
||||
"babel-cli": "^6.24.1",
|
||||
"babel-core": "^6.25.0",
|
||||
"babel-jest": "^20.0.3",
|
||||
"babel-loader": "^7.1.1",
|
||||
"babel-preset-env": "^1.5.2",
|
||||
"babel-preset-env": "^1.6.0",
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"codecov": "^2.2.0",
|
||||
"codecov": "^2.3.0",
|
||||
"css-loader": "^0.28.4",
|
||||
"eslint": "^4.1.1",
|
||||
"eslint-loader": "^1.8.0",
|
||||
"eslint": "^4.4.1",
|
||||
"eslint-loader": "^1.9.0",
|
||||
"eslint-plugin-jest": "^20.0.3",
|
||||
"extract-text-webpack-plugin": "^3.0.0",
|
||||
"jest": "^20.0.4",
|
||||
@@ -52,8 +52,8 @@
|
||||
"simulant": "^0.2.2",
|
||||
"smart-banner-webpack-plugin": "^3.0.1",
|
||||
"style-loader": "^0.18.2",
|
||||
"webpack": "^3.0.0",
|
||||
"webpack-dev-server": "^2.5.0"
|
||||
"webpack": "^3.5.4",
|
||||
"webpack-dev-server": "^2.7.1"
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "rimraf static/js/webslide*",
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*!
|
||||
* Name: WebSlides
|
||||
* Version: 1.3.1
|
||||
* Date: 2017-08-13
|
||||
* Version: 1.4.0
|
||||
* Date: 2017-08-14
|
||||
* Description: Making HTML presentations easy
|
||||
* URL: https://github.com/webslides/webslides#readme
|
||||
* Credits: @jlantunez, @LuisSacristan, @Belelros
|
||||
|
@@ -1,7 +1,7 @@
|
||||
/*!
|
||||
* Name: WebSlides
|
||||
* Version: 1.3.1
|
||||
* Date: 2017-08-13
|
||||
* Version: 1.4.0
|
||||
* Date: 2017-08-14
|
||||
* Description: Making HTML presentations easy
|
||||
* URL: https://github.com/webslides/webslides#readme
|
||||
* Credits: @jlantunez, @LuisSacristan, @Belelros
|
||||
@@ -688,6 +688,8 @@ var MobileDetector = function () {
|
||||
/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__easing__ = __webpack_require__(20);
|
||||
|
||||
|
||||
var SCROLLABLE_CONTAINER = document.getElementById('webslides');
|
||||
|
||||
/**
|
||||
* Smoothly scrolls to a given Y position using Easing.Swing. It'll run a
|
||||
* callback upon finishing.
|
||||
@@ -701,7 +703,7 @@ function scrollTo(y) {
|
||||
var cb = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {};
|
||||
var container = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;
|
||||
|
||||
var SCROLLABLE_CONTAINER = container ? container : document.getElementById('webslides');
|
||||
SCROLLABLE_CONTAINER = container ? container : document.getElementById('webslides');
|
||||
|
||||
var delta = y - SCROLLABLE_CONTAINER.scrollTop;
|
||||
var startLocation = SCROLLABLE_CONTAINER.scrollTop;
|
||||
|
6
static/js/webslides.min.js
vendored
6
static/js/webslides.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user