不要怂,就是干,撸起袖子干!

Commit ad124e3b by Mick Hansen

Merge pull request #5255 from tornillo/master

Fix jshint errors
2 parents c1f37c53 1213f503
......@@ -93,7 +93,7 @@ Comment.prototype.putString = function(str) {
Comment.prototype.putLine = function(str) {
str = str || '';
this.putString(str + "\n");
this.putString(str + '\n');
};
Comment.prototype.putLines = function(lines) {
......@@ -103,7 +103,7 @@ Comment.prototype.putLines = function(lines) {
};
Comment.prototype.toString = function () {
return this.string + "\n";
return this.string + '\n';
};
['class', 'mixin', 'constructor'].forEach(function (prop) {
......@@ -260,7 +260,7 @@ var parseComments = function (comments, file) {
return output;
};
var code, obj, output, path;
var obj, path;
new git.Repo(path.dirname(__filename) + '/..', function (err, repo) {
repo.head(function (err, status) {
......@@ -271,7 +271,7 @@ new git.Repo(path.dirname(__filename) + '/..', function (err, repo) {
obj = dox.parseComments(code.toString(), { raw: true});
path = program.out + '/' + file.output + '.md';
console.log(path)
console.log(path);
var output = parseComments(obj, file.file);
fs.writeFile(path, output);
......
'use strict';
/**
The entry point.
@module Sequelize
**/
module.exports = require("./lib/sequelize");
module.exports = require('./lib/sequelize');
'use strict';
var path = require('path');
module.exports = {
......
module.exports = require('../support');
\ No newline at end of file
'use strict';
module.exports = require('../support');
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!