summaryrefslogtreecommitdiff
path: root/extensions/userscripts
diff options
context:
space:
mode:
authorportix <none@none>2013-03-05 11:54:41 +0100
committerportix <none@none>2013-03-05 11:54:41 +0100
commit7762d2b27b0cbc8ad5aa6e7cdf2601f1671321e6 (patch)
tree4d57ee80239908e03b0902c9fac4aeef61c48a7f /extensions/userscripts
parent5014ba8e7a6f43feb8a419d747b156df0d5838b4 (diff)
downloaddwb-7762d2b27b0cbc8ad5aa6e7cdf2601f1671321e6.zip
Fixing formfiller export functions; shorter implementation of util.[un]camelize
Diffstat (limited to 'extensions/userscripts')
-rw-r--r--extensions/userscripts6
1 files changed, 4 insertions, 2 deletions
diff --git a/extensions/userscripts b/extensions/userscripts
index 689b07de..76709ec3 100644
--- a/extensions/userscripts
+++ b/extensions/userscripts
@@ -202,7 +202,7 @@ function matchIncludeExclude(frame, items) //{{{
}
catch(e)
{
- extensions.error(me, e);
+ script.debug(e);
}
}
return false;
@@ -535,7 +535,7 @@ function parseScripts(scripts) //{{{
return userscriptsStart();
}//}}}
-return {
+var userscripts = {
init : function (c) {
return parseScripts(c ? c.scripts || [] : []);
},
@@ -552,4 +552,6 @@ return {
}
};
+return userscripts;
+
// vim: set ft=javascript: