@Override public List<String> getFrameworkFallbackScripts( AuraContext context, boolean safeInlineJs, Map<String, Object> attributes) throws QuickFixException { List<String> ret = Lists.newArrayList(); // appcache fallback can only use for items NOT listed in the CACHE section of the manifest ret.add( getBootstrapUrl(context, attributes) + " " + getBootstrapFallbackUrl(context, attributes)); ret.add( configAdapter.getEncryptionKeyURL(true) + " " + configAdapter.getEncryptionKeyFallbackURL(true)); return ret; }
@Override public List<String> getFrameworkScripts( AuraContext context, boolean safeInlineJs, boolean ignoreNonCacheableScripts, Map<String, Object> attributes) throws QuickFixException { List<String> ret = Lists.newArrayList(); if (safeInlineJs && !ignoreNonCacheableScripts) { ret.add(getInlineJsUrl(context, attributes)); } ret.add(getAppJsUrl(context, null)); if (!ignoreNonCacheableScripts) { ret.add(getBootstrapUrl(context, attributes)); } return ret; }