Permalink
Browse files

Minor coding standards change

  • Loading branch information...
1 parent 5450eba commit b591aad8a24e10716aebfa93220556fc99929274 @balupton balupton committed May 4, 2012
Showing with 10 additions and 10 deletions.
  1. +3 −3 lib/caterpillar.js
  2. +1 −1 lib/logger.js
  3. +1 −1 lib/transport.js
  4. +3 −3 src/caterpillar.coffee
  5. +1 −1 src/logger.coffee
  6. +1 −1 src/transport.coffee
View
@@ -2,11 +2,11 @@
(function() {
var ConsoleFormatter, ConsoleTransport, Formatter, Logger, Transport, cliColor, _ref, _ref1;
- _ref = require("" + __dirname + "/formatter"), cliColor = _ref.cliColor, Formatter = _ref.Formatter, ConsoleFormatter = _ref.ConsoleFormatter;
+ _ref = require(__dirname + '/formatter'), cliColor = _ref.cliColor, Formatter = _ref.Formatter, ConsoleFormatter = _ref.ConsoleFormatter;
- Logger = require("" + __dirname + "/logger").Logger;
+ Logger = require(__dirname + '/logger').Logger;
- _ref1 = require("" + __dirname + "/transport"), Transport = _ref1.Transport, ConsoleTransport = _ref1.ConsoleTransport;
+ _ref1 = require(__dirname + '/transport'), Transport = _ref1.Transport, ConsoleTransport = _ref1.ConsoleTransport;
module.exports = {
cliColor: cliColor,
View
@@ -4,7 +4,7 @@
__hasProp = {}.hasOwnProperty,
__slice = [].slice;
- _ref = require("" + __dirname + "/transport"), Transport = _ref.Transport, ConsoleTransport = _ref.ConsoleTransport;
+ _ref = require(__dirname + '/transport'), Transport = _ref.Transport, ConsoleTransport = _ref.ConsoleTransport;
Logger = (function() {
View
@@ -4,7 +4,7 @@
__hasProp = {}.hasOwnProperty,
__extends = function(child, parent) { for (var key in parent) { if (__hasProp.call(parent, key)) child[key] = parent[key]; } function ctor() { this.constructor = child; } ctor.prototype = parent.prototype; child.prototype = new ctor; child.__super__ = parent.prototype; return child; };
- _ref = require("" + __dirname + "/formatter"), Formatter = _ref.Formatter, ConsoleFormatter = _ref.ConsoleFormatter;
+ _ref = require(__dirname + '/formatter'), Formatter = _ref.Formatter, ConsoleFormatter = _ref.ConsoleFormatter;
Transport = (function() {
@@ -1,7 +1,7 @@
# Requires
-{cliColor,Formatter,ConsoleFormatter} = require("#{__dirname}/formatter")
-{Logger} = require("#{__dirname}/logger")
-{Transport,ConsoleTransport} = require("#{__dirname}/transport")
+{cliColor,Formatter,ConsoleFormatter} = require(__dirname+'/formatter')
+{Logger} = require(__dirname+'/logger')
+{Transport,ConsoleTransport} = require(__dirname+'/transport')
# Export
module.exports = {
View
@@ -1,5 +1,5 @@
# Requires
-{Transport,ConsoleTransport} = require("#{__dirname}/transport")
+{Transport,ConsoleTransport} = require(__dirname+'/transport')
# Logger
class Logger
@@ -1,5 +1,5 @@
# Requires
-{Formatter,ConsoleFormatter} = require("#{__dirname}/formatter")
+{Formatter,ConsoleFormatter} = require(__dirname+'/formatter')
# Transport
class Transport

0 comments on commit b591aad

Please sign in to comment.