Lekcja 08 projekt auta cz1

This commit is contained in:
aplikacje committed 2026-10-22 10:52:16 +02:00
1 parent 8fc98ebf9d
commit d60f8a91a7
1543 files changed
+255781

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
'use strict';
var replace = String.prototype.replace;
var percentTwenties = /%20/g;
var Format = {
RFC1738: 'RFC1738',
RFC3986: 'RFC3986'
};
module.exports = {
'default': Format.RFC3986,
formatters: {
RFC1738: function (value) {
return replace.call(value, percentTwenties, '+');
},
RFC3986: function (value) {
return String(value);
}
},
RFC1738: Format.RFC1738,
RFC3986: Format.RFC3986
};