Skip to content
Browse files

Use relative path when requiring roles from examples

  • Loading branch information...
1 parent 748a8b9 commit fccb1e681f896875905db844276095f13f78e7cf @dresende committed Dec 21, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 examples/different-separator.js
  2. +1 −1 examples/exports.js
  3. +1 −1 examples/simple.js
View
2 examples/different-separator.js
@@ -1,4 +1,4 @@
-var roles = require("roles");
+var roles = require("../lib/roles");
roles.setSeparator("/");
View
2 examples/exports.js
@@ -1,4 +1,4 @@
-var roles = require("roles");
+var roles = require("../lib/roles");
roles.addApplication("myapp", [ "readonly", "readwrite" ]);
roles.addProfile("guest", [ "myapp.readonly" ]);
View
2 examples/simple.js
@@ -1,4 +1,4 @@
-var roles = require("roles");
+var roles = require("../lib/roles");
roles.addApplication("myapp", [ "readonly", "readwrite" ]);
roles.addProfile("guest", [ "myapp.readonly" ]);

0 comments on commit fccb1e6

Please sign in to comment.
Something went wrong with that request. Please try again.