Skip to content
This repository was archived by the owner on Sep 23, 2021. It is now read-only.

Commit 0975a83

Browse files
committed
Revert "Update reveal js version."
This reverts commit fe71fe8.
1 parent fe1908d commit 0975a83

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4103
-9355
lines changed

package-lock.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"reveal.js": "^3.8.0"
3+
"reveal.js": "^3.5.0"
44
}
55
}

static/reveal.js/.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.idea/
2+
*.iml
3+
*.iws
4+
*.eml
5+
out/
6+
.DS_Store
7+
.svn
8+
log/*.log
9+
tmp/**
10+
node_modules/
11+
.sass-cache
12+
css/reveal.min.css
13+
js/reveal.min.js

static/reveal.js/.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
language: node_js
22
node_js:
3-
- 11
3+
- 4
4+
before_script:
5+
- npm install -g grunt-cli
46
after_script:
5-
- npm run build -- retire
7+
- grunt retire

static/reveal.js/Gruntfile.js

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
1-
const sass = require('node-sass');
2-
3-
module.exports = grunt => {
4-
5-
require('load-grunt-tasks')(grunt);
6-
7-
let port = grunt.option('port') || 8000;
8-
let root = grunt.option('root') || '.';
1+
/* global module:false */
2+
module.exports = function(grunt) {
3+
var port = grunt.option('port') || 8000;
4+
var root = grunt.option('root') || '.';
95

106
if (!Array.isArray(root)) root = [root];
117

@@ -19,7 +15,7 @@ module.exports = grunt => {
1915
' * http://revealjs.com\n' +
2016
' * MIT licensed\n' +
2117
' *\n' +
22-
' * Copyright (C) 2019 Hakim El Hattab, http://hakim.se\n' +
18+
' * Copyright (C) 2017 Hakim El Hattab, http://hakim.se\n' +
2319
' */'
2420
},
2521

@@ -30,7 +26,7 @@ module.exports = grunt => {
3026
uglify: {
3127
options: {
3228
banner: '<%= meta.banner %>\n',
33-
ie8: true
29+
screwIE8: false
3430
},
3531
build: {
3632
src: 'js/reveal.js',
@@ -39,10 +35,6 @@ module.exports = grunt => {
3935
},
4036

4137
sass: {
42-
options: {
43-
implementation: sass,
44-
sourceMap: false
45-
},
4638
core: {
4739
src: 'css/reveal.scss',
4840
dest: 'css/reveal.css'
@@ -86,18 +78,16 @@ module.exports = grunt => {
8678
eqnull: true,
8779
browser: true,
8880
expr: true,
89-
loopfunc: true,
9081
globals: {
9182
head: false,
9283
module: false,
9384
console: false,
9485
unescape: false,
9586
define: false,
96-
exports: false,
97-
require: false
87+
exports: false
9888
}
9989
},
100-
files: [ 'gruntfile.js', 'js/reveal.js' ]
90+
files: [ 'Gruntfile.js', 'js/reveal.js' ]
10191
},
10292

10393
connect: {
@@ -129,7 +119,7 @@ module.exports = grunt => {
129119

130120
watch: {
131121
js: {
132-
files: [ 'gruntfile.js', 'js/reveal.js' ],
122+
files: [ 'Gruntfile.js', 'js/reveal.js' ],
133123
tasks: 'js'
134124
},
135125
theme: {
@@ -145,10 +135,6 @@ module.exports = grunt => {
145135
files: [ 'css/reveal.scss' ],
146136
tasks: 'css-core'
147137
},
148-
test: {
149-
files: [ 'test/*.html' ],
150-
tasks: 'test'
151-
},
152138
html: {
153139
files: root.map(path => path + '/*.html')
154140
},
@@ -158,13 +144,27 @@ module.exports = grunt => {
158144
options: {
159145
livereload: true
160146
}
147+
},
148+
149+
retire: {
150+
js: [ 'js/reveal.js', 'lib/js/*.js', 'plugin/**/*.js' ],
151+
node: [ '.' ]
161152
}
162153

163154
});
164155

165-
grunt.loadNpmTasks('grunt-contrib-clean');
166-
grunt.loadNpmTasks('grunt-contrib-nodeunit');
167-
156+
// Dependencies
157+
grunt.loadNpmTasks( 'grunt-contrib-connect' );
158+
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
159+
grunt.loadNpmTasks( 'grunt-contrib-jshint' );
160+
grunt.loadNpmTasks( 'grunt-contrib-qunit' );
161+
grunt.loadNpmTasks( 'grunt-contrib-uglify' );
162+
grunt.loadNpmTasks( 'grunt-contrib-watch' );
163+
grunt.loadNpmTasks( 'grunt-autoprefixer' );
164+
grunt.loadNpmTasks( 'grunt-retire' );
165+
grunt.loadNpmTasks( 'grunt-sass' );
166+
grunt.loadNpmTasks( 'grunt-zip' );
167+
168168
// Default task
169169
grunt.registerTask( 'default', [ 'css', 'js' ] );
170170

static/reveal.js/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (C) 2019 Hakim El Hattab, http://hakim.se, and reveal.js contributors
1+
Copyright (C) 2017 Hakim El Hattab, http://hakim.se, and reveal.js contributors
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy
44
of this software and associated documentation files (the "Software"), to deal

0 commit comments

Comments
 (0)