aboutsummaryrefslogtreecommitdiffhomepage
path: root/js/reveal.js
diff options
context:
space:
mode:
authorHakim El Hattab2012-11-10 19:14:16 -0500
committerHakim El Hattab2012-11-10 19:14:16 -0500
commit403cb5a8c46a5a19c2374eceefe5f370155957e6 (patch)
treefe8ebf1c158b74ab58eb65511006ca24480f0e74 /js/reveal.js
parent2834a6bc897d6ded967773cfa3a6bdf3cbc496d3 (diff)
fix issue with dependency loader callbacks
Diffstat (limited to 'js/reveal.js')
-rw-r--r--js/reveal.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/reveal.js b/js/reveal.js
index 0bfeef5..cc7b9e5 100644
--- a/js/reveal.js
+++ b/js/reveal.js
@@ -1,5 +1,5 @@
/*!
- * reveal.js 2.2 r44
+ * reveal.js 2.2 r45
* http://lab.hakim.se/reveal-js
* MIT licensed
*
@@ -232,7 +232,7 @@ var Reveal = (function(){
// Extension may contain callback functions
if( typeof s.callback === 'function' ) {
- head.ready( s.src.match( /([\w\d_\-]*)\.?[^\\\/]*$/i )[0], s.callback );
+ head.ready( s.src.match( /([\w\d_\-]*)\.?js|[^\\\/]*$/i )[0], s.callback );
}
}
}