Пример #1
0
  /** Get the set of base scripts for a context. */
  @Override
  public List<String> getBaseScripts(AuraContext context, Map<String, Object> attributes)
      throws QuickFixException {
    Set<String> ret = Sets.newLinkedHashSet();

    // Aura framework
    ret.add(getFrameworkUrl());

    return new ArrayList<>(ret);
  }
Пример #2
0
  @Override
  public List<String> getStyles(AuraContext context) throws QuickFixException {
    Set<String> ret = Sets.newLinkedHashSet();

    // Add css client libraries
    ret.addAll(getCssClientLibraryUrls(context));
    ret.add(getAppCssUrl(context));

    return new ArrayList<>(ret);
  }