Skip to content

Commit

Permalink
Fix #13. Add one extra .. to form an *incorrect* module id as per the…
Browse files Browse the repository at this point in the history
… associated comment
  • Loading branch information
briancavalier committed Sep 13, 2013
1 parent ec64006 commit 937d143
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ define(function (require) {
var Payee = require("../../common/payee/Payee");

// BAD: normalizes to "../util/date" -- a URL, not an ID!
var Date = require("../../../util/Date");
var Date = require("../../../../util/Date");

// GOOD: use an absolute id to reference a different package
var Date = require("util/Date"); // "Date" module in the "util" package
Expand Down

0 comments on commit 937d143

Please sign in to comment.