1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-28 23:42:27 +01:00

Add dactylIUtils.createContents. Closes issue #581.

This commit is contained in:
Kris Maglione
2011-09-26 16:20:26 -04:00
parent c0833dae29
commit 9fd915fb41
4 changed files with 36 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
/* Public Domain */
#include "nsISupports.idl"
#include "nsIDOMElement.idl"
%{C++
#include "jsapi.h"
@@ -19,6 +20,8 @@ interface dactylIUtils : nsISupports
[optional] in ACString filename,
[optional] in PRInt32 lineNumber);
void createContents(in nsIDOMElement element);
[implicit_jscontext]
jsval getGlobalForObject(in jsval object);