Change js interface for plugins and add configuration

This commit is contained in:
Samy Pessé
2014-04-21 22:20:41 +02:00
parent dd395edae1
commit 5beff86548
11 changed files with 42 additions and 27 deletions
+3 -3
View File
@@ -1,12 +1,12 @@
define([
"jQuery",
"core/global",
"core/events",
"core/state",
"core/search",
"core/progress",
"core/exercise",
"core/quiz"
], function($, global, state, search, progress, exercises, quiz) {
], function($, events, state, search, progress, exercises, quiz) {
var prev, next;
var githubCountStars, githubCountWatch;
@@ -110,7 +110,7 @@ define([
}
// Send to mixpanel
global.trigger("page.change");
events.trigger("page.change");
};
var handlePagination = function (e) {