projects
/
browser-dbus-bridge.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7727bd
)
[html] Add (no-op) conversion methods for autoconverted types
author
Kalle Vahlman
<kalle.vahlman@movial.com>
Wed, 29 Apr 2009 10:26:20 +0000
(13:26 +0300)
committer
Kalle Vahlman
<kalle.vahlman@movial.com>
Wed, 29 Apr 2009 10:26:20 +0000
(13:26 +0300)
html/dbus.js
patch
|
blob
|
history
diff --git
a/html/dbus.js
b/html/dbus.js
index 1a6648d38bd77d307058a8e5e111261897c4a2c6..35fcf136fd208b8baddd6c4e81476b4fb14f5e79 100644
(file)
--- a/
html/dbus.js
+++ b/
html/dbus.js
@@
-315,3
+315,12
@@
DBus.prototype.getInterface = function(dest, path, inter){
return this.parseInterface(doc, dest, path, inter);
};
+
+/* Conversion functions for default conversion types
+ * These are offered mainly just for completeness, there is usually no point in
+ * actually using them...
+ */
+DBus.prototype.Boolean = function (val) { return val; };
+DBus.prototype.Double = function (val) { return val; };
+DBus.prototype.String = function (val) { return val; };
+DBus.prototype.Array = function (val) { return val; };