wijmo 5 脚本连接失败,其他人发现了同样的问题。?

wijmo 5 scripts concatenation fails, anyone else found the same issue.?

有人试过缩小 wijmo 5 angular js 文件吗?

连接失败,我尝试将所有 js 文件放入 IIFE 中,但仍然无法执行。

如果有人尝试过,请告诉我。

仅供参考:我没有未缩小的文件,因为 wijmo 在购买许可证后提供了它。

Link 到 wijmo : http://wijmo.com/5/docs/static/references.html

您也可以使用 CDN link 进行同样的操作。请参照上述'Deploying Wijmo from CDN'同link。这是将 Wijmo 5 FlexGrid 与 AngularJS.

一起使用的代码片段
<html>
<head>
<link href="http://cdn.wijmo.com/5.20163.254/styles/wijmo.min.css" rel="stylesheet"/>
<script src="http://cdn.wijmo.com/5.20163.254/controls/wijmo.min.js"></script>
<script src="http://cdn.wijmo.com/5.20163.254/controls/wijmo.input.min.js"></script>
<script src="http://cdn.wijmo.com/5.20163.254/controls/wijmo.grid.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<script src="http://cdn.wijmo.com/5.20163.254/interop/angular/wijmo.angular.min.js"></script>

<script>
var app = angular.module('app', ['wj']);

        // app controller provides data
        app.controller('appCtrl', function($scope){

            // generate some random data
            var countries = 'US,Germany,UK,Japan,Italy,Greece'.split(','),
                data = [];
            for (var i = 0; i < 50; i++) {
                data.push({
                    id: i,
                    country: countries[i % countries.length],
                    date: new Date(2014, i % 12, i % 28),
                    amount: Math.random() * 10000,
                    active: i % 4 == 0
                });
            }

            // add data array to scope
            $scope.data = data;

        });

</script>
</head>
<body>
     <div ng-app="app" ng-controller="appCtrl" >        
        <wj-flex-grid items-source="data" style="height:200px;">       
        </wj-flex-grid>
    </div>
</body>
</html> 

谢谢,

马尼什·库马尔·古普塔