
require.config({
    'waitSeconds': 2,
    'baseUrl': '../../../test',
    'packages': [
        {
            'name': 'ubRiaUi',
            'location': '../src',
            'main': 'main'
        },
        {
            'name': 'esui',
            'location': '../dep/esui/3.2.0-beta.2/src',
            'main': 'main'
        },
        {
            'name': 'mini-event',
            'location': '../dep/mini-event/1.0.2/src',
            'main': 'main'
        },
        {
            'name': 'underscore',
            'location': '../dep/underscore/1.5.2/src',
            'main': 'underscore'
        },
        {
            'name': 'moment',
            'location': '../dep/moment/2.7.0/src',
            'main': 'moment'
        },
        {
            'name': 'etpl',
            'location': '../dep/etpl/3.0.1/src',
            'main': 'main'
        },
        {
            'name': 'eoo',
            'location': '../dep/eoo/0.1.4/src',
            'main': 'main'
        },
        {
            'name': 'jquery',
            'location': '../dep/jquery/1.9.1/src',
            'main': 'jquery.min'
        },
        {
            'name': 'eicons',
            'location': '../dep/eicons/1.0.0-beta.1/src',
            'main': 'main.less'
        },
        {
            'name': 'esf',
            'location': '../dep/esf/1.0.0-rc.2/src'
        },
        {
            'name': 'est',
            'location': '../dep/est/1.3.0/src'
        }
    ],
    'paths': {
        'jasmine': 'asset/js/jasmine',
        'jasmine-html': 'asset/js/jasmine-html',
        'matchers': 'asset/js/matchers',
        'jquery-simulate': 'asset/js/jquery.simulate'
    },
    'shim': {
        'jquery-simulate': ['jquery'],
        'jasmine': { 'exports': 'jasmine' },
        'jasmine-html': ['jasmine'],
        'matchers': ['jasmine']
    }
});

define('boot', function (require) {
    var $ = require('jquery');
    require('jasmine-html');
    require('matchers');
    function createNav($) {
        var navItems = [
            'alert', 'accordion', 'autoComplete', 'carousel', 'lightBox',
            'multiCalendar', 'slider', 'spinner', 'sticky', 'togglePanel', 'tokenField'
        ];
        var navHtml = '';
        $(navItems).each(function (index, item) {
            var initial = item.slice(0, 1).toUpperCase() + item.slice(1);
            navHtml += '<li><a href="../' + item +'/' + item + '.html">' + initial + '</a></li>';
        });
        $('body').append('<div id="navigator" class="navigator"></div>');
        $('#navigator').html(navHtml);
    }
    $(document).ready(function () {
        createNav($);
        var widget = $('script[data-widget]').attr('data-widget');
        var initial = widget.slice(0, 1).toUpperCase() + widget.slice(1);
        var ctrPath = 'unit/' + widget + '/' + initial;
        window.require([ctrPath], function () {
            var jasmineEnv = jasmine.getEnv();
            jasmineEnv.updateInterval = 1000;
            var htmlReporter = new jasmine.HtmlReporter();
            jasmineEnv.addReporter(htmlReporter);
            jasmineEnv.specFilter = function(spec) {
                return htmlReporter.specFilter(spec);
            };
            jasmineEnv.execute();
        });
    });
});
// init
require(['boot']);

@@ -61,13 +61,8 @@
 ./..
-/test
 ',%0A 
@@ -144,19 +144,16 @@
 tion': '
-../
 src',%0A  
@@ -247,27 +247,24 @@
 location': '
-../
 dep/esui/3.2
@@ -382,27 +382,24 @@
 location': '
-../
 dep/mini-eve
@@ -516,27 +516,24 @@
 location': '
-../
 dep/undersco
@@ -652,27 +652,24 @@
 location': '
-../
 dep/moment/2
@@ -778,27 +778,24 @@
 location': '
-../
 dep/etpl/3.0
@@ -899,27 +899,24 @@
 location': '
-../
 dep/eoo/0.1.
@@ -1022,27 +1022,24 @@
 location': '
-../
 dep/jquery/1
@@ -1154,27 +1154,24 @@
 location': '
-../
 dep/eicons/1
@@ -1289,27 +1289,24 @@
 location': '
-../
 dep/esf/1.0.
@@ -1390,19 +1390,16 @@
 tion': '
-../
 dep/est/
@@ -1457,24 +1457,29 @@
 'jasmine': '
+test/
 asset/js/jas
@@ -1506,24 +1506,29 @@
 ine-html': '
+test/
 asset/js/jas
@@ -1556,24 +1556,29 @@
 matchers': '
+test/
 asset/js/mat
@@ -1613,16 +1613,21 @@
 late': '
+test/
 asset/js
@@ -2777,16 +2777,21 @@
 Path = '
+test/
 unit/' +

修改esl配置。