Permalink
Browse files

Fixed a browser incompatibilty with xml output

  • Loading branch information...
Michael Ridgway
Michael Ridgway committed Sep 7, 2012
1 parent e9c9002 commit 091929f845c5a80d2587b362347a5401604bfb85
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/app/addons/ac/output-adapter.common.js
@@ -298,7 +298,7 @@ YUI.add('mojito-output-adapter-addon', function(Y, NAME) {
// A dirty XML function I found on the interwebs
function simpleXml(js, wraptag) {
if (js instanceof Object) {
- return simpleXml(Object.keys(js).map(function(key) {
+ return simpleXml(Y.Object.keys(js).map(function(key) {
return simpleXml(js[key], key);
}).join('\n'), wraptag);
}

0 comments on commit 091929f

Please sign in to comment.