فهرست منبع

add rvl.io to readme and template slide

Hakim El Hattab 12 سال پیش
والد
کامیت
be657e0943
4فایلهای تغییر یافته به همراه14 افزوده شده و 7 حذف شده
  1. 3 0
      README.md
  2. 7 0
      index.html
  3. 2 5
      js/reveal.js
  4. 2 2
      js/reveal.min.js

+ 3 - 0
README.md

@@ -10,6 +10,9 @@ reveal.js comes with a broad range of features including [nested slides](https:/
 - [Examples](https://github.com/hakimel/reveal.js/wiki/Example-Presentations): Presentations created with reveal.js, add your own!
 - [Browser Support](https://github.com/hakimel/reveal.js/wiki/Changelog): Explanation of browser support and fallbacks.
 
+## rvl.io
+
+Slides are written using HTML or markdown but there's also an online editor for those of you who prefer a more traditional user interface. Give it a try at [www.rvl.io](http://www.rvl.io).
 
 ## Instructions
 

+ 7 - 0
index.html

@@ -98,6 +98,13 @@
 					</p>
 				</section>
 
+				<section>
+					<h2>rvl.io</h2>
+					<p>
+						If you don't like writing slides in HTML you can use the online editor <a href="http://www.rvl.io" target="_blank">rvl.io</a>.
+					</p>
+				</section>
+
 				<section>
 					<h2>Works in Mobile Safari</h2>
 					<p>

+ 2 - 5
js/reveal.js

@@ -1,5 +1,5 @@
 /*!
- * reveal.js 2.0 r22
+ * reveal.js 2.0 r23
  * http://lab.hakim.se/reveal-js
  * MIT licensed
  * 
@@ -340,12 +340,9 @@ var Reveal = (function(){
 	 * @param {Object} event
 	 */
 	function onDocumentKeyDown( event ) {
-		// FFT: Use document.querySelector( ':focus' ) === null 
-		// instead of checking contentEditable?
-
 		// Disregard the event if the target is editable or a 
 		// modifier is present
-		if ( event.target.contentEditable != 'inherit' || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
+		if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
 				
 		var triggered = false;
 

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 2 - 2
js/reveal.min.js


برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است