gecko/toolkit/mozapps/extensions/test/addons/test_bootstrap1_2/bootstrap.js

10 lines
225 B
JavaScript

Components.utils.import("resource://gre/modules/Services.jsm");
function enable() {
Services.prefs.setIntPref("bootstraptest.version", 2);
}
function disable() {
Services.prefs.setIntPref("bootstraptest.version", 0);
}