cosmetic changes

This commit is contained in:
rlx 2013-08-26 17:15:12 +00:00
parent ed127b0259
commit 9c0cc7fb40

View file

@ -567,7 +567,7 @@ Ox.URL = function(options) {
} }
function encodeValue(value, isItem) { function encodeValue(value, isItem) {
var chars = isItem ? '/#%' : '#&|()=*%', var chars = isItem ? '/#%' : '=*&|()#%',
ret = ''; ret = '';
value.toString().split('').forEach(function(char) { value.toString().split('').forEach(function(char) {
var index = chars.indexOf(char); var index = chars.indexOf(char);