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() {
222
222
var files = grunt . file . expandFiles ( "cdn/mobile/*/*.css" ) ,
223
223
releases = files . map ( function ( file ) {
224
224
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" ) ;
227
227
228
228
if ( file !== mainCssFile ) {
229
229
return null ;
@@ -251,7 +251,7 @@ grunt.registerTask( "build-index", function() {
251
251
release . css = css ;
252
252
release . minifiedCss = minCss ;
253
253
254
- if ( files . indexOf ( "cdn/mobile/" + release . version + "/ " + structure ) !== - 1 ) {
254
+ if ( files . indexOf ( "cdn/" + structure ) !== - 1 ) {
255
255
release . structure = structure ;
256
256
release . minifiedStructure = minStructure ;
257
257
}
Original file line number Diff line number Diff line change 1
1
<li >
2
2
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 >
6
6
{{ #if minifiedStructure }}
7
- (<a href =" /mobile/ {{ version }} / {{ minifiedStructure }} " >structure only</a >)
7
+ (<a href =" /{{ minifiedStructure }} " >structure only</a >)
8
8
{{ /if }}
9
9
</li >
You can’t perform that action at this time.
0 commit comments