view inkscape/firefox/content/MadBuilderOverlay.js @ 871:67d0fed24120

Export a function to create a runtime for an existed window for JS
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 24 Sep 2010 14:09:02 +0800
parents 63aaf96209cd
children
line wrap: on
line source

function start_madbuilder() {
    var url = "chrome://MadBuilder/content/madbuilder.html";
    var browser = document.getElementById("content");

    browser.loadURI(url, null, null, true);
}