1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-14 20:35:47 +01:00

Add some docs to the bookmarks module.

This commit is contained in:
Kris Maglione
2010-11-13 16:05:00 -05:00
parent 6ce1255c49
commit 8ac3b09255
2 changed files with 117 additions and 18 deletions

View File

@@ -733,7 +733,7 @@ const Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference])
parseForm: function parseForm(field) {
function encode(name, value, param) {
if (param)
value = "%s";
value = value + "%s";
if (post)
return name + "=" + value;
return encodeURIComponent(name) + "=" + (param ? value : encodeURIComponent(value));