Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bone-headed regexp mistake, and add test so I do not do it again.
- Loading branch information
Showing
4 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
define(function() { | ||
doh.register( | ||
"testBaseUrl", | ||
[ | ||
function testBaseUrl(t){ | ||
t.is(true, true); | ||
} | ||
] | ||
); | ||
doh.run(); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Default baseUrl Test</title> | ||
<script type="text/javascript" src="doh/runner.js"></script> | ||
<script type="text/javascript" src="doh/_browserRunner.js"></script> | ||
<script data-main="testBaseUrl" src="../require.js"></script> | ||
</head> | ||
<body> | ||
<h1>require.js: Default baseUrl Test</h1> | ||
<p>Test for usage of text! require plugin. | ||
<p>Check console for messages</p> | ||
</body> | ||
</html> |