remove unused dependency, disable inconsistent 'slidetransitionend' test

This commit is contained in:
Hakim El Hattab 2020-04-27 11:44:33 +02:00
parent 0a1bcdf999
commit 48ebc3b7e0
7 changed files with 242 additions and 782 deletions

2
dist/reveal.es5.js vendored
View File

@ -1,5 +1,5 @@
/*!
* reveal.js 4.0.0-dev (Wed Apr 22 2020)
* reveal.js 4.0.0-dev (Mon Apr 27 2020)
* https://revealjs.com
* MIT licensed
*

2
dist/reveal.js vendored
View File

@ -1,5 +1,5 @@
/*!
* reveal.js 4.0.0-dev (Wed Apr 22 2020)
* reveal.js 4.0.0-dev (Mon Apr 27 2020)
* https://revealjs.com
* MIT licensed
*

View File

@ -8,7 +8,6 @@ const qunit = require('node-qunit-puppeteer')
const {rollup} = require('rollup')
const {terser} = require('rollup-plugin-terser')
const babel = require('rollup-plugin-babel')
const resolve = require('@rollup/plugin-node-resolve')
const gulp = require('gulp')
const tap = require('gulp-tap')
@ -48,7 +47,6 @@ const rollupConfig = {
}
]]
}),
resolve(),
terser()
]
};

View File

@ -10,7 +10,7 @@ import Deck from './reveal.js'
* // reveal.js is ready
* });
*/
var Reveal = Deck;
let Reveal = Deck;
/**
@ -42,8 +42,8 @@ Reveal.initialize = options => {
/**
* The pre 4.0 API let you add event listener before
* initializing. We maintain the same behavior by
* queuing up early API calls and invoking all of them
* when Reveal.initialize is called.
* queuing up premature API calls and invoking all
* of them when Reveal.initialize is called.
*/
[ 'on', 'off', 'addEventListener', 'removeEventListener', 'registerPlugin' ].forEach( method => {
Reveal[method] = ( ...args ) => {

1009
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -26,7 +26,6 @@
"devDependencies": {
"@babel/core": "^7.8.7",
"@babel/preset-env": "^7.8.7",
"@rollup/plugin-node-resolve": "^7.1.3",
"babel-eslint": "^10.1.0",
"colors": "^1.4.0",
"core-js": "^3.6.5",

View File

@ -721,6 +721,7 @@
});
/* Fails intermittently...
QUnit.test( 'slidetransitionend', function( assert ) {
assert.expect( 2 );
let done = assert.async( 2 );
@ -746,6 +747,7 @@
Reveal.slide( 1, 0 );
});
*/
QUnit.test( 'paused', function( assert ) {
assert.expect( 1 );