Skip to content

Commit

Permalink
fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
pdufour committed Feb 12, 2015
1 parent c657327 commit 7f9e52c
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/fancy_dropdowns.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,23 @@ $(document).ready(function() {

// Functions
var defaults = function(dest,source) {
for(var k in source) {
if(dest[k] === void 0) {
dest[k] = source[k];
}
for(var k in source) {
if(dest[k] === void 0) {
dest[k] = source[k];
}
}

return dest;
},
return dest;
},

markupEscapeCodes = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#39;',
'/': '&#x2F;'
};
markupEscapeCodes = {
'&': '&amp;',
'<': '&lt;',
'>': '&gt;',
'"': '&quot;',
"'": '&#39;',
'/': '&#x2F;'
};

function escapeMarkup(subject) {
return subject.replace(/[&<>"'\/]/g, function (char) {
Expand Down

0 comments on commit 7f9e52c

Please sign in to comment.