test.js 205 B

123456789
  1. $(document).bind("bookReady", function() {
  2. gitbook.bind("page.change", function() {
  3. // do something
  4. });
  5. gitbook.bind("exercise.submit", function() {
  6. // do something
  7. });
  8. });