scripts/core/beta/beta.ts
Function BetaTemplateInterceptor
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function BetaTemplateInterceptor($q, $templateCache, betaService) {
var modifiedTemplates = {};
var HAS_FLAGS_EXP = /sd-beta/,
IS_HTML_PAGE = /\.html$|\.html\?/i;