Changes

Jump to: navigation, search

Labs/Jetpack/JEP/25

27 bytes removed, 05:26, 15 September 2009
"securable-module.js" -> "booster.js"
<html>
<!-- This script makes the SecurableModule global available. -->
<script src="securable-modulebooster.js"></script>
<script>
// Create a loader for SecurableModules that gives them chrome
Chrome Booster functionality should be just as easy to access if the
calling code is in a JS module instead of a page. As such,
<tt>securable-modulebooster.js</tt> is engineered to detect which context
it's loaded in and "just work" accordingly:
// loaded as a JS module, too:
var SecurableModule = {};
Components.utils.import("resource://some_extension/content/securable-modulebooster.js",
SecurableModule);
874
edits

Navigation menu