From 8e66e9cd1e78d33a1d73f8238038de96d8aae2c1 Mon Sep 17 00:00:00 2001 From: Simon Wex Date: Thu, 20 Feb 2014 14:24:36 -0800 Subject: [PATCH] Changing path structure so it works externally with require --- src/environment.js | 2 +- src/fs.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/environment.js b/src/environment.js index 976e9e2..b98d8bf 100644 --- a/src/environment.js +++ b/src/environment.js @@ -1,6 +1,6 @@ define(function(require) { - var defaults = require('src/constants').ENVIRONMENT; + var defaults = require('./constants').ENVIRONMENT; function Environment(env) { env = env || {}; diff --git a/src/fs.js b/src/fs.js index 2ebe367..c3d1119 100644 --- a/src/fs.js +++ b/src/fs.js @@ -51,9 +51,9 @@ define(function(require) { var XATTR_CREATE = require('./constants').XATTR_CREATE; var XATTR_REPLACE = require('./constants').XATTR_REPLACE; - var providers = require('src/providers/providers'); - var adapters = require('src/adapters/adapters'); - var Shell = require('src/shell'); + var providers = require('./providers/providers'); + var adapters = require('./adapters/adapters'); + var Shell = require('./shell'); /* * DirectoryEntry