diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f67180d2..8b9039160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 2.0.0-alpha.8 (2016-10-11) + +- Fixed missing file reference (#132) + # 2.0.0-alpha.7 (2016-10-06) - Fixed issue where the checked state of a checkbox was not properly reflected in the UI (#129) diff --git a/config/utils/stage-ts.js b/config/utils/stage-ts.js index cdccd8f4e..5e2f8263d 100644 --- a/config/utils/stage-ts.js +++ b/config/utils/stage-ts.js @@ -117,6 +117,11 @@ function inlineHtmlCss() { while (matches = regex.exec(fileContents)) { fileContents = inlineContents(file, fileContents, matches[0], matches[1]); + + // Since we're changing the file contents in each iteration and since the regex is stateful + // we need to reset the regex; otherwise it might not be able to locate subsequent matches + // after the first replacement. + regex.lastIndex = 0; } fs.writeFileSync( diff --git a/package.json b/package.json index b7152b516..1024ccad6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "blackbaud-skyux2", - "version": "2.0.0-alpha.7", + "version": "2.0.0-alpha.8", "description": "SKY UX built on Angular 2", "author": "Blackbaud, Inc.", "homepage": "https://github.com/blackbaud/skyux2",