summaryrefslogtreecommitdiff
path: root/doc/example.bnd
diff options
context:
space:
mode:
Diffstat (limited to 'doc/example.bnd')
-rw-r--r--doc/example.bnd10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/example.bnd b/doc/example.bnd
index 690eace..6003f0d 100644
--- a/doc/example.bnd
+++ b/doc/example.bnd
@@ -53,17 +53,15 @@ epilogue %{
#include "dom.bnd"
-/* this block describes the binding to be generated
+/* This block describes the binding to be generated
*
* Depending on the type of binding being generated multiple blocks
* may be allowed.
*
- * Note: the js_libdom (javascript to libdom) binding as currently
- * implemented only allows for a single binding per file, this may
- * be improved in future.
+ * Note: the jsapi_libdom (spidermonkey javascript to libdom) binding
+ * is the only type currently implemented
*/
-binding example {
- type js_libdom; /* the binding type */
+binding jsapi_libdom {
interface Navigator; /* The WebIDL interface to generate a binding for */