test.js 217 B

123456789
  1. require(["gitbook"], function(gitbook) {
  2. gitbook.events.bind("page.change", function() {
  3. // do something
  4. });
  5. gitbook.events.bind("exercise.submit", function() {
  6. // do something
  7. });
  8. });