JavaScript Test - fix automatic e4x detection, no bug not part of the build

This commit is contained in:
bclary%bclary.com 2006-09-02 20:43:27 +00:00
Родитель cd22c4371f
Коммит 73168ba864
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -46,7 +46,8 @@ var VERBOSE = false;
var SECT_PREFIX = 'Section ';
var SECT_SUFFIX = ' of test -';
if (typeof options != 'undefined')
if (typeof options != 'undefined' &&
options().indexOf('xml') < 0)
{
// automatically turn on e4x support
options('xml');