Package org.bladerunnerjs.model

Examples of org.bladerunnerjs.model.LinkedFileAsset


    return assetFile.getName().endsWith(".html");
  }
 
  @Override
  public Asset createAsset(File assetFile, AssetLocation assetLocation) throws AssetFileInstantationException {
    return new LinkedFileAsset(assetFile, assetLocation);
  }
View Full Code Here


     
      if (indexFile != null) {
        String indexFilePath = indexFile.getAbsolutePath();
       
        if(!cachedAssets.containsKey(indexFilePath)) {
          cachedAssets.put(indexFilePath, new LinkedFileAsset(indexFile, viewableBundlableNode.assetLocation("resources")));
        }
       
        seedFiles.add(cachedAssets.get(indexFilePath));
      }
     
View Full Code Here

  public static final String JS_STYLE = "namespaced-js";
 
  public NamespacedJsSourceModule(File assetFile, AssetLocation assetLocation) throws AssetFileInstantationException {
    this.assetLocation = assetLocation;
    this.assetFile = assetFile;
    this.linkedFileAsset =  new LinkedFileAsset(assetFile, assetLocation);
   
    String requirePath = assetLocation.requirePrefix() + "/" + RelativePathUtility.get(assetLocation.root().getFileInfoAccessor(), assetLocation.dir(), assetFile).replaceAll("\\.js$", "");
    requirePaths.add(requirePath);

    patch = SourceModulePatch.getPatchForRequirePath(assetLocation, getPrimaryRequirePath());
View Full Code Here

TOP

Related Classes of org.bladerunnerjs.model.LinkedFileAsset

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.