Skip to content
This repository has been archived by the owner on Apr 3, 2023. It is now read-only.

Commit

Permalink
chore(env): Change repository name and related
Browse files Browse the repository at this point in the history
Ref #6
  • Loading branch information
Jongmoon Yoon committed Aug 14, 2017
1 parent 82861ed commit f4aeb1b
Show file tree
Hide file tree
Showing 15 changed files with 9,835 additions and 426 deletions.
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# How to contribute to egjs-pausresume
egjs-pausresume is opened to everyone and we're welcoming for any kind of contribution.
# How to contribute to egjs-jquery-pauseresume
egjs-jquery-pauseresume is opened to everyone and we're welcoming for any kind of contribution.
We believe that our project can grow with your interests helping others' necessities.

## Style Guide

egjs-pausresume has several style guidelines to follow.
egjs-jquery-pauseresume has several style guidelines to follow.
Before your start, please read attentively below instructions.

### Linting and Code Conventions
We adopted [ESLint](http://eslint.org/) to maintain our code quality. The [rules](https://github.com/naver/eslint-config-naver/tree/master/rules) are modified version based on [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript).
All rules are described at [.eslintrc](.eslintrc) file.

### Commit Log Guidelines
egjs-pausresume use commit logs in many different purposes (like creating CHANGELOG, ease history searching, etc.).
egjs-jquery-pauseresume use commit logs in many different purposes (like creating CHANGELOG, ease history searching, etc.).
To not break, you'll be forced to follow our commit log guidelines.
Before your commit/push, make sure following our commit log guidelines.

Expand Down Expand Up @@ -40,19 +40,19 @@ The outline is as below:
## How to submit Pull Requests
Steps to submit your pull request:

1. Fork `egjs-pausresume` on your repository
1. Fork `egjs-jquery-pauseresume` on your repository
2. Create new branch from your egjs master branch (and be sure always to be up-to-date)
3. Do your work
4. Create test code for your work (when is possible)
5. Run `npm run lint` for linting and Code Conventions (update until without any error or warnings)
6. Run test code by `npm run test OR npm run test:chrome`.
Make sure tests are all passed at least in Chrome(latest desktop version)
8. Write commit log following convention and push to your repository branch.
9. Create a new PR from your branch to egjs-pausresume.
9. Create a new PR from your branch to egjs-jquery-pauseresume.
10. Wait for reviews.
When your contribution is well enough to be accepted, then will be merged to our branch.
11. All done!


## License
By contributing to egjs-pausresume, you're agreeing that your contributions will be licensed under its [MIT](https://opensource.org/licenses/MIT) license.
By contributing to egjs-jquery-pauseresume, you're agreeing that your contributions will be licensed under its [MIT](https://opensource.org/licenses/MIT) license.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
egjs-pauseresume
egjs-jquery-pauseresume
Copyright 2015 NAVER Corp.

This project contains subcomponents with separate copyright notices and license terms.
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# egjs-pauseresume [![npm version](https://badge.fury.io/js/%40egjs%2Fpauseresume.svg)](https://badge.fury.io/js/%40egjs%2Fpauseresume) [![Build Status](https://travis-ci.org/naver/egjs-pauseresume.svg?branch=master)](https://travis-ci.org/naver/egjs-pauseresume) [![Coverage Status](https://coveralls.io/repos/github/naver/egjs-pauseresume/badge.svg?branch=master)](https://coveralls.io/github/naver/egjs-pauseresume?branch=master)
# egjs-jquery-pauseresume [![npm version](https://badge.fury.io/js/%40egjs%2Fjquery-pauseresume.svg)](https://badge.fury.io/js/%40egjs%2Fjquery-pauseresume) [![Build Status](https://travis-ci.org/naver/egjs-jquery-pauseresume.svg?branch=master)](https://travis-ci.org/naver/egjs-jquery-pauseresume) [![Coverage Status](https://coveralls.io/repos/github/naver/egjs-jquery-pauseresume/badge.svg?branch=master)](https://coveralls.io/github/naver/egjs-jquery-pauseresume?branch=master)


Pauses and resumes animation executed by the jQuery animate() method


## Documents
- [Get Started and Demos](https://naver.github.io/egjs-pauseresume/)
- [API documentation](https://naver.github.io/egjs-pauseresume/release/latest/doc/)
- [Get Started and Demos](https://naver.github.io/egjs-jquery-transform/)
- [API documentation](https://naver.github.io/egjs-jquery-transform/release/latest/doc/)


## Supported Browsers
Expand All @@ -25,32 +25,32 @@ Download dist files from repo directly or install it via npm.

You can download the uncompressed files for development

- Latest : https://naver.github.io/egjs-pauseresume/release/latest/dist/pauseresume.js
- Specific version : https://naver.github.io/egjs-pauseresume/release/[VERSION]/dist/pauseresume.js
- Latest : https://naver.github.io/egjs-jquery-transform/release/latest/dist/pauseresume.js
- Specific version : https://naver.github.io/egjs-jquery-transform/release/[VERSION]/dist/pauseresume.js

### For production (Compressed)

You can download the compressed files for production

- Latest : https://naver.github.io/egjs-pauseresume/release/latest/dist/pauseresume.min.js
- Specific version : https://naver.github.io/egjs-pauseresume/release/[VERSION]/dist/pauseresume.min.js
- Latest : https://naver.github.io/egjs-jquery-transform/release/latest/dist/pauseresume.min.js
- Specific version : https://naver.github.io/egjs-jquery-transform/release/[VERSION]/dist/pauseresume.min.js


### Installation with npm

The following command shows how to install egjs-pauseresume using npm.
The following command shows how to install egjs-jquery-transform using npm.

```bash
$ npm install @egjs/pauseresume
```

## Bug Report

If you find a bug, please report it to us using the [Issues](https://github.com/naver/egjs-pauseresume/issues) page on GitHub.
If you find a bug, please report it to us using the [Issues](https://github.com/naver/egjs-jquery-transform/issues) page on GitHub.


## License
egjs-pauseresume is released under the [MIT license](http://naver.github.io/egjs/license.txt).
egjs-jquery-transform is released under the [MIT license](http://naver.github.io/egjs/license.txt).


```
Expand Down
4 changes: 2 additions & 2 deletions demo/_data/egjs.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
component: PauseResume
component: $PauseResume
home: //naver.github.io/egjs
desc: Pauses and resumes animation executed by the jQuery animate() method.
dist:
- release/latest/dist/pauseresume.js
GA: UA-70842526-20
github:
user: naver
repo: egjs-pauseresume
repo: egjs-jquery-pauseresume
js:
- assets/js/demo.js
css:
Expand Down
14 changes: 12 additions & 2 deletions demo/_layouts/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,20 @@
<script src="{{ dist }}"></script>
{% endfor %}
<script>
var homeUrl = window.location.href;
if (homeUrl.indexOf("#") !== -1) {
homeUrl = homeUrl.substr(0, homeUrl.indexOf("#"));
}
homeUrl = homeUrl
.replace("/index.html", "/")
.replace("/gallery.html", "/");
if (homeUrl[homeUrl.length-1] !== "/") {
homeUrl += "/";
};
window.HOMELINK = homeUrl;
window.LIBLINK = [];
{% for dist in site.data.egjs.dist %}
window.LIBLINK.push(window.location.href.replace("/index.html", "/")
.replace("/gallery.html", "/") + "{{ dist }}");
window.LIBLINK.push(window.HOMELINK + "{{ dist }}");
{% endfor %}
</script>
<body>
Expand Down
14 changes: 12 additions & 2 deletions demo/_layouts/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,20 @@
<script src="{{ dist }}"></script>
{% endfor %}
<script>
var homeUrl = window.location.href;
if (homeUrl.indexOf("#") !== -1) {
homeUrl = homeUrl.substr(0, homeUrl.indexOf("#"));
}
homeUrl = homeUrl
.replace("/index.html", "/")
.replace("/gallery.html", "/");
if (homeUrl[homeUrl.length-1] !== "/") {
homeUrl += "/";
};
window.HOMELINK = homeUrl;
window.LIBLINK = [];
{% for dist in site.data.egjs.dist %}
window.LIBLINK.push(window.location.href.replace("/index.html", "/")
.replace("/gallery.html", "/") + "{{ dist }}");
window.LIBLINK.push(window.HOMELINK + "{{ dist }}");
{% endfor %}
</script>
<body>
Expand Down
2 changes: 1 addition & 1 deletion demo/assets/html/demo.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div codepen="demo" class="testBackground" >
<div id="rectBox" class="test">Mouse Over Me to pause</div>
</div>
</div>
9 changes: 6 additions & 3 deletions demo/common/css/page.css
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,9 @@ pre code {
background-clip: padding-box;
margin: 0 auto;
}
.docs .docs-inner a {
color:#337ab7;
}
.docs .block {
margin-bottom: 60px;
}
Expand Down Expand Up @@ -540,6 +543,6 @@ h4 {
}

.demobox {
margin-bottom: "20px";
border-radius: "4px";
}
margin-bottom: 20px;
border-radius: 4px;
}
11 changes: 2 additions & 9 deletions demo/common/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jQuery(document).ready(function($) {

/* ======= codepen ======= */
function getDomainUrl() {
return window.location.href.replace("/index.html", "/")
.replace("/gallery.html", "/");
return window.HOMELINK;
}

$("#docs .highlight").each(function() {
Expand Down Expand Up @@ -75,12 +74,6 @@ jQuery(document).ready(function($) {
return getDomainUrl() + url;
});

// // for design
// $htmlEl.css({
// "margin-bottom": "20px",
// "border-radius": "4px",
// });

var data = {
title : $htmlEl.prev().text(),
private : false,
Expand All @@ -91,7 +84,7 @@ jQuery(document).ready(function($) {
css_pre_processor : "none",
css_starter : "neither",
css_prefix_free : false,
js : js[0],
js : js[0].replace("window.HOMELINK", '"' + getDomainUrl() + '"'),
js_pre_processor : "babel",
html_classes : "loading",
css_external : "",
Expand Down
2 changes: 1 addition & 1 deletion demo/demo.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### pauseResume demo
### demo

{% include_relative assets/html/demo.html %}

Expand Down

0 comments on commit f4aeb1b

Please sign in to comment.