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());