Skip to content
Permalink
Browse files

MDL-64181 core: Ensure that self is included in parentage

  • Loading branch information...
andrewnicols committed Nov 27, 2018
1 parent 1add1cd commit 23e347bb32608cb9521f39d71f2e3ae37437f2bd
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/amd/build/templates.min.js
  2. +1 −1 lib/amd/src/templates.js

Some generated files are not rendered by default. Learn more.

@@ -669,7 +669,7 @@ define([
// This promise will not be resolved until all child partials are also resolved and ready.
// We create it here to allow us to check for recursive inclusion of templates.
// Keep track of the requested partials in this chain.
parentage = parentage || [];
parentage = parentage || [searchKey];

cachePartialPromises[searchKey] = $.Deferred();

0 comments on commit 23e347b

Please sign in to comment.
You can’t perform that action at this time.