Edit in JSFiddle

// 配置 Mock 路径
KISSY.config({
    packages: {
        mock: {
            base: 'http://mockjs.com/0.1/dist/',
            debug: true
        }
    }
})
// 加载 Mock
KISSY.use(['node', 'mock'], function (S, _, Mock) {
    // 使用 Mock
    var data = Mock.mock({
        'list|1-10': [{
            'id|+1': 1
        }]
    });
    KISSY.all('<pre>').text(JSON.stringify(data, null, 4))
        .appendTo('body')
})
<script src="http://g.tbcdn.cn/kissy/k/1.3.1/seed.js"></script>