From 95de001d8b0f55a45cb072ecfddf2646062185a4 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 30 May 2012 19:24:45 +0200 Subject: [PATCH] in Ox.DocPanel, allow for passing a string as self.options.files --- source/Ox.UI/js/Code/DocPanel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Ox.UI/js/Code/DocPanel.js b/source/Ox.UI/js/Code/DocPanel.js index f77a26bb..93adcfd0 100644 --- a/source/Ox.UI/js/Code/DocPanel.js +++ b/source/Ox.UI/js/Code/DocPanel.js @@ -73,6 +73,7 @@ Ox.DocPanel = function(options, self) { ); if (self.options.files) { + self.options.files = Ox.makeArray(self.options.files); self.options.items = Ox.doc(self.options.files.map(function(file) { return self.options.path + file; }), function(docItems) {