File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed
src/System.Web.Optimization.React Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -23,24 +23,24 @@ public class JsxBundle : Bundle
2323 /// </param>
2424 public JsxBundle ( string virtualPath ) : base ( virtualPath , GetTransforms ( ) )
2525 {
26- base . ConcatenationToken = ";" + Environment . NewLine ;
26+ base . ConcatenationToken = ";" + Environment . NewLine ;
2727 }
2828
29- /// <summary>
30- /// Applies the transformations.
31- /// </summary>
32- /// <returns>The bundle response.</returns>
33- public override BundleResponse ApplyTransforms ( BundleContext context , string bundleContent , Collections . Generic . IEnumerable < BundleFile > bundleFiles )
34- {
35- const string pragma = "/** @jsx React.DOM */" ;
29+ /// <summary>
30+ /// Applies the transformations.
31+ /// </summary>
32+ /// <returns>The bundle response.</returns>
33+ public override BundleResponse ApplyTransforms ( BundleContext context , string bundleContent , Collections . Generic . IEnumerable < BundleFile > bundleFiles )
34+ {
35+ const string pragma = "/** @jsx React.DOM */" ;
3636
37- if ( ! bundleContent . TrimStart ( ) . StartsWith ( pragma ) )
38- {
39- bundleContent = pragma + bundleContent ;
40- }
37+ if ( ! bundleContent . TrimStart ( ) . StartsWith ( pragma ) )
38+ {
39+ bundleContent = pragma + bundleContent ;
40+ }
4141
42- return base . ApplyTransforms ( context , bundleContent , bundleFiles ) ;
43- }
42+ return base . ApplyTransforms ( context , bundleContent , bundleFiles ) ;
43+ }
4444
4545 /// <summary>
4646 /// Gets the transformations that should be used by the bundle.
You can’t perform that action at this time.
0 commit comments