Skip to content

Commit

Permalink
WA代码:整理 partials.js 的加载和编译规则
Browse files Browse the repository at this point in the history
  • Loading branch information
amio committed Mar 14, 2014
1 parent fddce56 commit 862f643
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

<!-- build:js scripts/scripts.js -->
<script src="scripts/app.js"></script>
<script src="scripts/partials.js"></script>
<script src="scripts/services/edit.js"></script>
<script src="scripts/services/login.js"></script>
<script src="scripts/services/notify.js"></script>
Expand All @@ -43,5 +42,7 @@
<script src="scripts/controllers/package-edit.js"></script>
<!-- endbuild -->

<script src="scripts/partials.js"></script>

</body>
</html>
Empty file added app/scripts/partials.js
Empty file.
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ gulp.task('html2js', function () {
prefix: "partials/"
}))
.pipe($.concat('partials.js'))
.pipe(gulp.dest(SOURCE_ROOT + "/scripts/"));
.pipe(gulp.dest(BUILD_ROOT + "/scripts/"));
});

gulp.task('imagemin', function () {
Expand Down

0 comments on commit 862f643

Please sign in to comment.