Consider a project with the following JavaScript files:
- Scripts\Common\AddAltToImg.js
- Scripts\Common\ToggleDiv.js
- Scripts\Common\ToggleImg.js
- Scripts\Common\Sub1\ToggleLinks.js
The following table shows the files added to a bundle using the wildcard as shown:
Call Files Added or Exception Raised Include("~/Scripts/Common/*.js") AddAltToImg.js, ToggleDiv.js, ToggleImg.js Include("~/Scripts/Common/T*.js") Invalid pattern exception. The wildcard character is only allowed on the prefix or suffix. Include("~/Scripts/Common/*og.*") Invalid pattern exception. Only one wildcard character is allowed. "Include("~/Scripts/Common/T*") ToggleDiv.js, ToggleImg.js "Include("~/Scripts/Common/*") Invalid pattern exception. A pure wildcard segment is not valid. IncludeDirectory("~/Scripts/Common", "T*") ToggleDiv.js, ToggleImg.js IncludeDirectory("~/Scripts/Common", "T*",true) ToggleDiv.js, ToggleImg.js, ToggleLinks.js
0 comments:
Post a Comment