Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 9085bf4

Browse files
author
Ian Leue
committed
Back to almond 0.2.3
1 parent b516615 commit 9085bf4

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vendor/assets/javascripts/almond.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* almond 0.2.2 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved.
2+
* almond 0.2.3 Copyright (c) 2011-2012, The Dojo Foundation All Rights Reserved.
33
* Available via the MIT or new BSD license.
44
* see: http://github.com/jrburke/almond for details
55
*/
@@ -76,6 +76,10 @@ var requirejs, require, define;
7676
//end trimDots
7777

7878
name = name.join("/");
79+
} else if (name.indexOf('./') === 0) {
80+
// No baseName, so this is ID is resolved relative
81+
// to baseUrl, pull off the leading dot.
82+
name = name.substring(2);
7983
}
8084
}
8185

0 commit comments

Comments
 (0)