Skip to content
This repository has been archived by the owner on Jul 12, 2018. It is now read-only.

Commit

Permalink
- fixed some more path-shizzle
Browse files Browse the repository at this point in the history
- should fix the build #144
  • Loading branch information
meaku committed Jan 12, 2013
1 parent a287b03 commit aa9307e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/core/bundle/templates/fillSchemaRegistry.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

var schemaRegistry = require("<%= rootPath %>/node_modules/alamid/lib/shared/registries/schemaRegistry.js"),
extendSchemas = require("alamid/lib/core/helpers/extendSchemas.js").extendSchemas;
extendSchemas = require("<%= rootPath %>/node_modules/alamid/lib/core/helpers/extendSchemas.js").extendSchemas;

var collectedSchemas = {
client : {},
Expand Down
2 changes: 1 addition & 1 deletion test/core/bundle/renderer/renderFillSchemaRegistry.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("renderFillSchemaRegistry", function () {
schemas : registry
};
}
else if(path === "alamid/lib/core/helpers/extendSchemas.js") {
else if(path.indexOf("alamid/lib/core/helpers/extendSchemas.js") !== -1) {
return require("../../../../lib/core/helpers/extendSchemas.js");
}
return require(path); // returning the path for testing purposes
Expand Down

0 comments on commit aa9307e

Please sign in to comment.