Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Ensure amp-mustache is version locked to v0.js #24402

Merged
merged 2 commits into from
Sep 6, 2019

Conversation

jridgewell
Copy link
Contributor

Because amp-mustache is registered as <script custom-template="amp-mustache">, we failed to find the currently-loaded-but-incorrect-version script in maybeLoadCorrectVersion. Now, we defer that responsibility to the extension loader service.

Copy link

@dreamofabear dreamofabear left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a unit test.

src/service/extensions-impl.js Outdated Show resolved Hide resolved
* @return {!Promise<!ExtensionDef>}
*/
reloadExtension(extensionId, oldScriptElement) {
reloadExtension(extensionId) {
const attribute = isTemplateExtension(extensionId)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: extensionType?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants