Skip to content

Commit

Permalink
🐶 build v1.0.0!
Browse files Browse the repository at this point in the history
  • Loading branch information
desandro committed May 21, 2019
1 parent c020d9b commit f5ea60f
Show file tree
Hide file tree
Showing 10 changed files with 2,121 additions and 16 deletions.
6 changes: 2 additions & 4 deletions .github/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

**Add 👍 reaction** to issues for features you would like to see added to Zdog. Do not add +1 comments — [they will be deleted](https://metafizzy.co/blog/use-github-reactions-delete-plus-1-comments/).

## Submitting issues
## Reduced test cases required

### Reduced test case required

All bug reports and problem issues require a [**reduced test case**](https://css-tricks.com/reduced-test-cases/).
All bug reports and problem issues require a [**reduced test case**](https://css-tricks.com/reduced-test-cases/). Create one by [forking this CodePen](https://codepen.io/desandro/pen/xNLWwG).

+ A reduced test case clearly demonstrates the bug or issue.
+ It contains the bare minimum HTML, CSS, and JavaScript required to demonstrate the bug.
Expand Down
2 changes: 1 addition & 1 deletion .github/issue_template.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<!-- Thanks for submitting an issue! If you have a bug or problem issue, please include a **reduced test case**. Create one in CodePen or other demo site. See guidelines link above. -->

**Test case:** https://codepen.io/desandro/pen/azqbop
**Test case:** https://codepen.io/desandro/pen/xNLWwG
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
bundle:
cat js/boilerplate.js js/canvas-renderer.js js/svg-renderer.js js/vector.js \
js/anchor.js js/path-command.js js/shape.js js/group.js js/rect.js \
js/rounded-rect.js js/ellipse.js js/polygon.js js/hemisphere.js \
js/cylinder.js js/cone.js js/box.js > dist/zdog.dist.js
js/anchor.js js/dragger.js js/illustration.js js/path-command.js \
js/shape.js js/group.js js/rect.js js/rounded-rect.js js/ellipse.js \
js/polygon.js js/hemisphere.js js/cylinder.js js/cone.js js/box.js \
js/index.js > dist/zdog.dist.js

uglify:
npx uglifyjs dist/zdog.dist.js -o dist/zdog.dist.min.js --mangle --comments /^!/

lint:
npx jshint js/*.js demos/**/*.js

dist: hint bundle uglify
dist: lint bundle uglify
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ View complete documentation and live demos at [zzz.dog](https://zzz.dog).

### Download

+ [zdog.dist.min.js](https://unpkg.com/zdog@0/dist/zdog.dist.min.js) minified, or
+ [zdog.dist.js](https://unpkg.com/zdog@0/dist/zdog.dist.js) un-minified
+ [zdog.dist.min.js](https://unpkg.com/zdog@1/dist/zdog.dist.min.js) minified, or
+ [zdog.dist.js](https://unpkg.com/zdog@1/dist/zdog.dist.js) un-minified

### CDN

Link directly to Zdog JS on [unpkg](https://unpkg.com).

``` html
<script src="https://unpkg.com/zdog@0/dist/zdog.dist.min.js"></script>
<script src="https://unpkg.com/zdog@1/dist/zdog.dist.min.js"></script>
```

### Package managers
Expand Down Expand Up @@ -86,7 +86,7 @@ Zdog v1 is a beta-release, of sorts. This is my first time creating a 3D engine,

### Other Zdog repos

+ [zdog-demos](https://github.com/metafizzy/zdog-demos) - Lots more bigger, wilder Zdog demos
+ [zdog-demos](https://github.com/metafizzy/zdog-demos) - More, bigger, wilder Zdog demos
+ [zdog-docs](https://github.com/metafizzy/zdog-docs) - Documentation site source code for [zzz.dog](https://zzz.dog)

---
Expand Down
Loading

0 comments on commit f5ea60f

Please sign in to comment.