Skip to content

Commit dafb4ca

Browse files
committed
Merge pull request #495 from kingcody/fix/build-without-socketio
fix(gen): fix build when not selecting socket.io
2 parents b67d2b6 + fdf063c commit dafb4ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: app/templates/client/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@
4444
<script src="bower_components/es5-shim/es5-shim.js"></script>
4545
<script src="bower_components/json3/lib/json3.min.js"></script>
4646
<![endif]-->
47-
<!-- build:js({client<% if(filters.socketio) { %>,node_modules<% } %>}) app/vendor.js -->
47+
<!-- build:js({client,node_modules}) app/vendor.js -->
4848
<!-- bower:js -->
49-
<!-- endbower -->
50-
<% if(filters.socketio) { %><script src="socket.io-client/socket.io.js"></script><% } %>
49+
<!-- endbower --><% if(filters.socketio) { %>
50+
<script src="socket.io-client/socket.io.js"></script><% } %>
5151
<!-- endbuild -->
5252

5353
<!-- build:js({.tmp,client}) app/app.js -->

0 commit comments

Comments
 (0)