Skip to content

Commit

Permalink
remove browser-sync code from index.html fix issue #2
Browse files Browse the repository at this point in the history
  • Loading branch information
bassjobsen committed Apr 15, 2016
1 parent 4cef026 commit f364c93
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 12 deletions.
12 changes: 6 additions & 6 deletions app/templates/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,9 @@ module.exports = function (grunt) {
// Add vendor prefixed styles
require('autoprefixer')({
browsers: [
'last 2 versions',
'ie >= 9',
'and_chr >= 2.3'
'last 2 versions',
'ie >= 9',
'and_chr >= 2.3'
]
})
]
Expand Down Expand Up @@ -464,9 +464,9 @@ module.exports = function (grunt) {
'useminPrepare',
'concurrent:dist',
'postcss',
'concat',
'cssmin',
'uglify',
//'concat',

This comment has been minimized.

Copy link
@aravasio

aravasio Apr 16, 2016

I highly suggest not commiting commented code. Specially if it's a code-snipet already existing in a previous commit. It's already in version control, what's there to lose? Just a suggestion, though.

This comment has been minimized.

Copy link
@bassjobsen

bassjobsen Apr 16, 2016

Author Owner

Thanks for your suggestion. But i can not update the sources on npm without a new version number?

//'cssmin',
//'uglify',
'copy:dist',
'filerev',
'usemin',
Expand Down
6 changes: 1 addition & 5 deletions app/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,7 @@
<title>Foundation for Sites</title>
<link rel="stylesheet" href="styles/main.css">
</head>
<body><script type='text/javascript' id="__bs_script__">//<![CDATA[
document.write("<script async src='/browser-sync/browser-sync-client.2.10.0.js'><\/script>".replace("HOST", location.hostname));
//]]></script>


<body>
<div class="row">
<div class="large-12 columns">
<h1>Welcome to Foundation for Sites</h1>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-foundation6",
"version": "0.0.1",
"version": "0.0.2",
"description": "Scaffold out a front-end Foundation 6 Web app",
"license": "BSD",
"repository": {
Expand Down

0 comments on commit f364c93

Please sign in to comment.