Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/modules/@angular/platform-browser/test/xhr/xhr_cache_setter.ts

4 lines
113 B
TypeScript
Raw Normal View History

refactor(TypeScript): Add noImplicitAny We automatically insert explicit 'any's where needed. These need to be addressed as in #9100. Fixes #4924
2016-06-08 15:45:15 -07:00
export function setTemplateCache(cache: any /** TODO #9100 */): void {
feat(compiler): Add an implementation for XHR that uses a template cache to load template files. Useful for avoiding doing an actual XHR during testing. Part of the solution for #4051 (Other part is a Karma plugin that will create the template cache). Closes #7940
2016-04-06 15:58:23 -07:00
(<any>window).$templateCache = cache;
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 70ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API