Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue#4 #9

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions MODULE_README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Zzz.js [![Build Status](https://travis-ci.org/uupaa/Zzz.js.png)](http://travis-ci.org/uupaa/Zzz.js)
# Zzz.js [![Build Status](https://travis-ci.org/__GITHUB_USER_NAME__/Zzz.js.png)](http://travis-ci.org/__GITHUB_USER_NAME__/Zzz.js)

[![npm](https://nodei.co/npm/uupaa.zzz.js.png?downloads=true&stars=true)](https://nodei.co/npm/uupaa.zzz.js/)
[![npm](https://nodei.co/npm/__GITHUB_USER_NAME__.zzz.js.png?downloads=true&stars=true)](https://nodei.co/npm/__GITHUB_USER_NAME__.zzz.js/)

Zzz.js description.

## Document

- [Zzz.js wiki](https://github.com/uupaa/Zzz.js/wiki/Zzz)
- [Zzz.js wiki](https://github.com/__GITHUB_USER_NAME__/Zzz.js/wiki/Zzz)
- [Development](https://github.com/uupaa/WebModule/wiki/Development)
- [WebModule](https://github.com/uupaa/WebModule) ([Slide](http://uupaa.github.io/Slide/slide/WebModule/index.html))

Expand Down
6 changes: 2 additions & 4 deletions clone
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,9 @@ function _doClone(overwriteFiles, fromDir, toDir, fileTree) {
replace(/zzz/g, repositoryName.toLowerCase());

// Replace GitHub UserName.
// "github.com/uupaa" -> "github.com/githubUserName"
// "__GITHUB_USER_NAME__" -> "githubUserName"
if (githubUserName) {
text = text.replace(/github.com(.)uupaa/g, function(_, sep) {
return "github.com" + sep + githubUserName;
});
text = text.replace(/__GITHUB_USER_NAME__/g, githubUserName);
}
return text;
}
Expand Down
3 changes: 1 addition & 2 deletions lib/Zzz.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ function Zzz(value) { // @arg Number|Integer = 0 comment
}

//{@dev
Zzz["repository"] = "https://github.com/uupaa/Zzz.js"; // GitHub repository URL. http://git.io/Help
Zzz["repository"] = "https://github.com/__GITHUB_USER_NAME__/Zzz.js"; // GitHub repository URL. http://git.io/Help
//}@dev

Zzz["prototype"]["value"] = Zzz_value; // Zzz#value():Number|Integer = 0
Expand Down Expand Up @@ -63,4 +63,3 @@ if ("process" in global) {
global["Zzz" in global ? "Zzz_" : "Zzz"] = Zzz; // switch module. http://git.io/Minify

})((this || 0).self || global); // WebModule idiom. http://git.io/WebModule

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"name": "webmodule",
"version": "0.0.36",
"description": "Module template for Mobile Web Application.",
"url": "https://github.com/uupaa/Zzz.js",
"url": "https://github.com/__GITHUB_USER_NAME__/Zzz.js",
"keywords": ["WebModule", "Unstable"],
"repository": {
"type": "git",
"url": "https://github.com/uupaa/Zzz.js.git"
"url": "https://github.com/__GITHUB_USER_NAME__/Zzz.js.git"
},
"scripts": {
"watch": "node node_modules/uupaa.watch.js --verbose --action build",
Expand Down Expand Up @@ -52,7 +52,7 @@
},
"lib": "./lib/",
"main": "./index.js",
"author": "uupaa <uupaa.js@gmail.com>",
"author": "__GITHUB_USER_NAME__ <__GITHUB_USER_NAME__.js@gmail.com>",
"license": "MIT",
"contributors": []
}