/// <reference path="other.js" />// @reference other.js/// <reference path="jquery.d.ts" />http://typescript.codeplex.com/workitem/995
However, I don't know if this will be addressed anytime soon and so whilst I'm waiting I thought I'd check to see if it is possible to control which "Asset References" mechanisms are active in Cassette? It'd be nice (for me) if I could just turn off the Visual Studio XML reference comments. I don't know if that's possible.
If not then I may investigate having a subsequent step in my bundling where I go through and purging references from my TypeScript generated JavaScript file bundles where references that end ".d.ts". I'm guessing that would work as a fallback - though I haven't investigated yet... Kind of hoping I don't need to :-)
public class CustomParseReferences : IBundleProcessor<ScriptBundle>{public void Process(T bundle){foreach (var asset in bundle.Assets){ParseAssetReferences(asset); // Makes calls to asset.AddReference(reference.Path, reference.LineNumber);}}}
--
You received this message because you are subscribed to the Google Groups "Cassette" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cassette+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.