Browse Source

expose version number through #1451

Hakim El Hattab 9 năm trước cách đây
mục cha
commit
b7644a3bf7
1 tập tin đã thay đổi với 5 bổ sung0 xóa
  1. 5 0
      js/reveal.js

+ 5 - 0
js/reveal.js

@@ -25,6 +25,9 @@
 
 	var Reveal;
 
+	// The reveal.js version
+	var VERSION = '3.2.0';
+
 	var SLIDES_SELECTOR = '.slides section',
 		HORIZONTAL_SLIDES_SELECTOR = '.slides>section',
 		VERTICAL_SLIDES_SELECTOR = '.slides>section.present>section',
@@ -4526,6 +4529,8 @@
 
 
 	Reveal = {
+		VERSION: VERSION,
+
 		initialize: initialize,
 		configure: configure,
 		sync: sync,