Merge branch 'fix-callback-with-shared-dir' of https://github.com/hashar/reveal.js

This commit is contained in:
Hakim El Hattab
2012-11-13 09:37:37 -05:00
2 changed files with 3 additions and 1 deletions

View File

@ -232,7 +232,7 @@ var Reveal = (function(){
// Extension may contain callback functions
if( typeof s.callback === 'function' ) {
head.ready( s.src.match( /([\w\d_\-]*)\.?js|[^\\\/]*$/i )[0], s.callback );
head.ready( s.src.match( /([\w\d_\-]*)\.?js$|[^\\\/]*$/i )[0], s.callback );
}
}
}