我通过bower install将angular-material和jquery-ui添加到我的项目中。 一切正常,直到我建立它。 在我的索引文件中(在dist文件夹下),除了两个添加的库之外,所有cdn都没问题。
STEP 1: repeat 4 times:
cor = randomCoordinate()
if ( hasContent(cor, 3) ) then putSquare(cor, 3)
STEP 2: repeat 16 times:
cor = randomCoordinate()
if ( hasContent(cor, 2) ) then putSquare(cor, 2)
STEP 3: corList = getFreeSquaresWithContent()
putSquare(corlist, 1)
calculateScore()
store used squares and score.
如果我做错了?运行......
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.2/angular-route.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.2/angular-sanitize.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.4.0-beta.2/angular-touch.min.js"></script>
<script src="bower_components/jquery-ui/jquery-ui.js"></script>
<script src="bower_components/angular-material/angular-material.js"></script>
<!-- endbower -->
<!-- endbuild -->
<script src="scripts/scripts.bdd18021.js"></script>
<body ng-app="wwwApp" ng-controller="MainCtrl"> .....
输出为:
grunt cdnify
我做错了什么? 谢谢!!!!!!!