Ejemplo n.º 1
0
  /** Get the set of base scripts for a context. */
  @Override
  public List<String> getBaseScripts(AuraContext context) throws QuickFixException {
    ConfigAdapter config = Aura.getConfigAdapter();
    Set<String> ret = Sets.newLinkedHashSet();

    String html5ShivURL = config.getHTML5ShivURL();
    if (html5ShivURL != null) {
      ret.add(html5ShivURL);
    }

    ret.add(config.getJSLibsURL());

    ret.addAll(getClientLibraryUrls(context, ClientLibraryDef.Type.JS));
    // framework js should be after other client libraries
    ret.add(config.getAuraJSURL());

    return new ArrayList<>(ret);
  }
Ejemplo n.º 2
0
 @Override
 public String getFrameworkUrl() {
   return configAdapter.getAuraJSURL();
 }