Merge branch 'fix-callback-with-shared-dir' of https://github.com/hashar/reveal.js
This commit is contained in:
@ -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 );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user