diff --git a/spec/javascripts/CorePluginSpec.js b/spec/javascripts/CorePluginSpec.js index e190305..b0b0368 100644 --- a/spec/javascripts/CorePluginSpec.js +++ b/spec/javascripts/CorePluginSpec.js @@ -43,6 +43,10 @@ describe("$.silverTrackPlugin", function() { expect(plugin.onInstall).toBeDefined(); }); + it("should define 'onUninstall'", function() { + expect(plugin.onUninstall).toBeDefined(); + }); + it("should define 'beforeStart'", function() { expect(plugin.beforeStart).toBeDefined(); }); diff --git a/src/jquery.silver_track.js b/src/jquery.silver_track.js index 70d610c..8053a93 100644 --- a/src/jquery.silver_track.js +++ b/src/jquery.silver_track.js @@ -412,6 +412,7 @@ initialize: function(options) {}, onInstall: function(track) {}, + onUninstall: function(track) {}, beforeStart: function(track) {}, afterStart: function(track) {}, beforeRestart: function(track) {},