Skip to content
Snippets Groups Projects
  1. Nov 14, 2012
  2. Nov 13, 2012
  3. Nov 12, 2012
    • Antoine Musso's avatar
      Fix callback calling when using from a parent directory · 5354b788
      Antoine Musso authored
      Authors might want to use a shared reveal.js installation for all their
      presentations such as:
      
      	$ ls -1 -F
      	20120105-how-to-use-git.html
      	20121101-wikimedia-scaling.html
      	reveal.js/
      	$
      
      In this case, the plugin callbacks will not be called at all.
      
      When using head.js, the callback is marked as depending upon the loading of a
      Javscript filename. The regex used to find out the filename is applied to the
      full path which in the above case would be something like:
      
      	reveal.js/plugin/highlight/highlight.js
      
      The regex will thus give out 'reveal.js' as a file depency instead of the
      expected 'highlight.js'
      
      The fix is quiet easy: simply make sure that we are looking for a file that
      actually ends with '.js' instead of simply containing '.js' by adding a $.
      5354b788
  4. Nov 11, 2012
  5. Nov 10, 2012
  6. Oct 29, 2012
  7. Oct 28, 2012
  8. Oct 25, 2012
  9. Oct 24, 2012
  10. Oct 23, 2012
  11. Oct 22, 2012
  12. Oct 21, 2012
  13. Oct 20, 2012
  14. Oct 18, 2012
  15. Oct 17, 2012
  16. Oct 15, 2012
  17. Oct 14, 2012
  18. Oct 13, 2012
  19. Oct 11, 2012
Loading