feature(time) time.get -> time

This commit is contained in:
coderaiser 2014-11-19 08:22:39 -05:00
parent 52142ed141
commit 50cca39a04
3 changed files with 4 additions and 4 deletions

View file

@ -42,11 +42,11 @@
break;
case 'time':
time.get(path, callback);
time(path, callback);
break;
case 'time raw':
time.get(path, 'raw', callback);
time(path, 'raw', callback);
break;
default:

View file

@ -78,7 +78,7 @@
getTimes(function(times) {
var readTime = times[name];
time.get(name, 'raw', function(error, fileTime) {
time(name, 'raw', function(error, fileTime) {
var json, timeChanged;
if (!error && readTime !== fileTime) {

View file

@ -4,7 +4,7 @@
var fs = require('fs'),
Util = require('../util');
exports.get = function(filename, option, callback) {
module.exports = function(filename, option, callback) {
var isRaw = option === 'raw';
if (!callback)