Fix a bug that was preventing require('ui') from working, and improve resolveRequire while I'm in there.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3195 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2016-04-09 18:36:43 +00:00
parent 4b2877dbad
commit bea0ae23dd
2 changed files with 10 additions and 5 deletions

View File

@ -124,7 +124,7 @@ function editPage(event) {
}
// XXX: Why do I need .js?
require("ui.js").fileList({
require("ui").fileList({
title: "Live Markdeep Editor",
edit: editPage,
});