Skip to content

Commit

Permalink
Lint the world.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stockman committed Jan 30, 2014
1 parent 5be9195 commit 852db0b
Show file tree
Hide file tree
Showing 17 changed files with 376 additions and 310 deletions.
156 changes: 90 additions & 66 deletions lib/builder.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions lib/cli.js
Expand Up @@ -11,14 +11,14 @@ http://yuilibrary.com/license/
* @module yuidoc
*/

var Y = require('./index'),
path = require('path');
/*global Y:true */
var Y = require('./index');

var options = Y.Options(Y.Array(process.argv, 2));

Y.log('Starting YUIDoc@' + Y.packageInfo.version + ' using YUI@' + Y.version + ' with NodeJS@' + process.versions.node, 'info', 'yuidoc');

var starttime = (new Date).getTime();
var starttime = (new Date()).getTime();

options = Y.Project.init(options);

Expand All @@ -42,7 +42,7 @@ if (options.server) {
if (!options.parseOnly) {
var builder = new Y.DocBuilder(options, json);
builder.compile(function() {
var endtime = (new Date).getTime();
var endtime = (new Date()).getTime();
Y.log('Completed in ' + ((endtime - starttime) / 1000) + ' seconds' , 'info', 'yuidoc');
});
}
Expand Down

0 comments on commit 852db0b

Please sign in to comment.