5 Star 1 Fork 0

Gitee 极速下载 / jquerymobile

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/jquery/jquery-mobile
克隆/下载
Gruntfile.js 1.52 KB
一键复制 编辑 原始数据 按行查看 历史
module.exports = function( grunt ) {
"use strict";
var path = require( "path" );
var dist = "dist" + path.sep;
var today = grunt.template.today( "UTC:yyyy" );
require( "load-grunt-config" )( grunt, {
configPath: [
path.join( process.cwd(), "build/tasks/options" ),
path.join( process.cwd(), "build/tasks" )
],
init: true,
data: {
pkg: grunt.file.readJSON( "package.json" ),
dist: dist,
name: "jquery.mobile",
phpPort: Math.floor( 8000 + Math.random() * 1000 ),
versionSuffix: "",
headHash: "",
headShortHash: "",
version: "<%= version %>",
dirs: {
dist: dist,
cdn: {
google: path.join( dist, "cdn-google" ),
jquery: path.join( dist, "cdn" ),
git: path.join( dist, "git" )
},
tmp: path.join( dist, "tmp" )
},
banner: [
"/*!",
"* jQuery Mobile <%= version %>",
"* <%if ( headHash ) {%>Git HEAD hash: <%= headHash %> <> <% } %>Date: " +
grunt.template.today( "UTC:ddd mmm d yyyy HH:MM:ss Z" ),
"* http://jquerymobile.com",
"*",
"* Copyright 2010, " + today + " jQuery Foundation, Inc. and other" +
" contributors",
"* Released under the MIT license.",
"* http://jquery.org/license",
"*",
"*/",
"",
"",
""
].join( grunt.util.linefeed ),
bannerMin: "/*! jQuery Mobile <%= version %> | <%if ( headShortHash ) {%>Git HEAD" +
"hash: <%= headShortHash %> <> <% } %>" + grunt.template.today( "UTC:yyyy-mm-dd" ) +
"T" + grunt.template.today( "UTC:HH:MM:ss" ) + "Z | (c) 2010, " +
today + " jQuery Foundation, Inc. | jquery.org/license */\n"
}
} );
};
JavaScript
1
https://gitee.com/mirrors/jquerymobile.git
git@gitee.com:mirrors/jquerymobile.git
mirrors
jquerymobile
jquerymobile
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891