Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Commit

Permalink
use only single quotes in javascript files
Browse files Browse the repository at this point in the history
Closes #137
  • Loading branch information
AntouanK authored and Fishrock123 committed Feb 9, 2015
1 parent 14bfecc commit 308ba4e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
20 changes: 10 additions & 10 deletions gulp/config.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
var dest = "./public";
var dest = './public';
var src = './source';
var content = './content';

module.exports = {
stylus: {
src: src + "/styles/**/*.styl",
src: src + '/styles/**/*.styl',
dest: dest,
settings: {
// put stylus settings here
}
},
templates: {
templateSrc: src + "/templates/**/*.html",
contentSrc: content + "/**/*.md",
templateJSONsrc: content + "/**/template.json",
templateSrc: src + '/templates/**/*.html',
contentSrc: content + '/**/*.md',
templateJSONsrc: content + '/**/template.json',
dest: dest
},
images: {
src: dest + "/img/**",
dest: dest + "/img"
src: dest + '/img/**',
dest: dest + '/img'
},
del: {
files: [
dest + "/**/*.html",
dest + "/**/*.js",
dest + "/**/*.css",
dest + '/**/*.html',
dest + '/**/*.js',
dest + '/**/*.css',
'!'+ dest + '/index.html',
'!'+ dest + '/es6.html',
'!'+ dest + '/faq.html',
Expand Down
2 changes: 1 addition & 1 deletion gulp/tasks/minifyCss.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ gulp.task('minifyCss', function() {
csswring
]))
.pipe(rename(function(path){
path.extname = ".min.css";
path.extname = '.min.css';
}))
.pipe(gulp.dest(config.dest))
.pipe(size());
Expand Down
8 changes: 4 additions & 4 deletions gulp/util/handleErrors.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
var notify = require("gulp-notify");
var notify = require('gulp-notify');

module.exports = function() {

var args = Array.prototype.slice.call(arguments);

// Send error to notification center with gulp-notify
notify.onError({
title: "Compile Error",
message: "<%= error %>"
title: 'Compile Error',
message: '<%= error %>'
}).apply(this, args);

// Keep gulp from hanging on this task
this.emit('end');
};
};

1 comment on commit 308ba4e

@Fishrock123
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed version of 210a219

Please sign in to comment.