Skip to content

Commit 79f564d

Browse files
committed
Fix for rootURL in tests
1 parent 4c99b2e commit 79f564d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [3.2.4]
6+
- Fixed issue related to rootURL in tests
7+
58
## [3.2.3]
69
- Fixed issue with ember serve when script tags were duplicated after rebuilds
710

lib/convert-to-amd-filter.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ module.exports = class ConvertToAMD extends Filter {
123123
indent_size: 2,
124124
max_preserve_newlines: 1
125125
});
126-
scriptsToLoad.push(`"${this.indexHtmlCaches[relativePath].afterLoadingScript}"`);
126+
scriptsToLoad.push(`"${this.rootURL}${this.indexHtmlCaches[relativePath].afterLoadingScript}"`);
127127
}
128128

129129
// Replace the original ember scripts by the amd ones

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ember-cli-amd",
3-
"version": "3.2.3",
3+
"version": "3.2.4",
44
"description": "Ember CLI Addon that can load AMD modules.",
55
"scripts": {
66
"build": "ember build --environment=production",

0 commit comments

Comments
 (0)