File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -222,8 +222,8 @@ grunt.registerTask( "build-index", function() {
222222 var files = grunt . file . expandFiles ( "cdn/mobile/*/*.css" ) ,
223223 releases = files . map ( function ( file ) {
224224 var version = / c d n \/ m o b i l e \/ ( [ ^ \/ ] + ) / . exec ( file ) [ 1 ] ,
225- filename = "jquery.mobile-" + version + ".js" ,
226- mainCssFile = "cdn/mobile/" + version + "/ " + filename . replace ( ".js" , ".css" ) ;
225+ filename = "mobile/" + version + "/ jquery.mobile-" + version + ".js" ,
226+ mainCssFile = "cdn/" + filename . replace ( ".js" , ".css" ) ;
227227
228228 if ( file !== mainCssFile ) {
229229 return null ;
@@ -251,7 +251,7 @@ grunt.registerTask( "build-index", function() {
251251 release . css = css ;
252252 release . minifiedCss = minCss ;
253253
254- if ( files . indexOf ( "cdn/mobile/" + release . version + "/ " + structure ) !== - 1 ) {
254+ if ( files . indexOf ( "cdn/" + structure ) !== - 1 ) {
255255 release . structure = structure ;
256256 release . minifiedStructure = minStructure ;
257257 }
Original file line number Diff line number Diff line change 11<li >
22 jQuery Mobile {{ version }} -
3- <a href =" /mobile/ {{ version }} / {{ filename }} " >uncompressed</a >,
4- <a href =" /mobile/ {{ version }} / {{ minified }} " >minfied</a >,
5- <a href =" /mobile/ {{ version }} / {{ minifiedCss }} " >theme</a >
3+ <a href =" /{{ filename }} " >uncompressed</a >,
4+ <a href =" /{{ minified }} " >minfied</a >,
5+ <a href =" /{{ minifiedCss }} " >theme</a >
66 {{ #if minifiedStructure }}
7- (<a href =" /mobile/ {{ version }} / {{ minifiedStructure }} " >structure only</a >)
7+ (<a href =" /{{ minifiedStructure }} " >structure only</a >)
88 {{ /if }}
99</li >
You can’t perform that action at this time.
0 commit comments