diff --git a/main.js b/main.js index 4ec5c48..e70a36b 100644 --- a/main.js +++ b/main.js @@ -71,7 +71,7 @@ define(function (require, exports, module) { // Helper function that loads our domain into the node server function loadSimpleDomain() { - var path = ExtensionUtils.getModulePath(module, "SimpleDomain"); + var path = ExtensionUtils.getModulePath(module, "node/SimpleDomain"); var loadPromise = nodeConnection.loadDomains([path], true); loadPromise.fail(function () { console.log("[brackets-simple-node] failed to load domain"); diff --git a/SimpleDomain.js b/node/SimpleDomain.js similarity index 93% rename from SimpleDomain.js rename to node/SimpleDomain.js index 17da530..c7c4b73 100644 --- a/SimpleDomain.js +++ b/node/SimpleDomain.js @@ -55,7 +55,9 @@ maxerr: 50, node: true */ false, // this command is synchronous "Returns the total and free memory on the user's system in bytes", [], // no parameters - [{name: "memory", type: "{total: number, free: number}"}] + [{name: "memory", + type: "{total: number, free: number}", + description: "amount of total and free memory in bytes"}] ); }