From 7762d2b27b0cbc8ad5aa6e7cdf2601f1671321e6 Mon Sep 17 00:00:00 2001 From: portix Date: Tue, 5 Mar 2013 11:54:41 +0100 Subject: Fixing formfiller export functions; shorter implementation of util.[un]camelize --- extensions/userscripts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'extensions/userscripts') 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: -- cgit v1.2.3