diff options
author | portix <none@none> | 2012-06-02 12:30:00 +0200 |
---|---|---|
committer | portix <none@none> | 2012-06-02 12:30:00 +0200 |
commit | e211f67a259d70b738920a6e2b053097e42bc31c (patch) | |
tree | 98e5f37bb39081c9e1d8744baf08e9ee54a3aba7 /api | |
parent | d11cd142c112dbc9485c542cf0c835ea133a3717 (diff) | |
download | dwb-e211f67a259d70b738920a6e2b053097e42bc31c.zip |
Fixing searchengine forms not submitted if the form has a childnode with name
'submit'; adding util.js.
Diffstat (limited to 'api')
-rw-r--r-- | api/jsapi.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/api/jsapi.txt b/api/jsapi.txt index b979a022..4bc18834 100644 --- a/api/jsapi.txt +++ b/api/jsapi.txt @@ -607,6 +607,31 @@ tabs.nth(2).loadUri(c.uri); ---- ==== + +[[util]] +=== util === + +The +util+ object implements helper functions. + +**** +[float] +==== *getBody(Function)* ==== + +[source,javascript] +---- +String util.getBody(Function func) +---- + +Gets the body of a function, useful for scripts that will be injected into +sites. + + :: + +_func_;; A function +_returns_;; The body of the function as a string +**** + + [[Webkitobjects]] == Webkit objects == |