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

Update README.md #22

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Update README.md #22

wants to merge 3 commits into from

Conversation

ashishsiot
Copy link

update readme.md
correct spellings and grammatical miskicks.
thank you

update readme.md 
correct spellings and grammatical miskicks.
thank you
@zserge
Copy link
Owner

zserge commented Oct 27, 2020

May I ask you to update the README.sh instead? README.md is auto-generated from that script.

add to extra buttons to  perform action like 
- new canvas  = it is use for open new canvas in to new tab.
-  Clear All =  it is used to  clear all brush stocks and make canvas clear as new
Copy link

@thecaralice thecaralice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also change README.sh instead of README.md

@@ -10,7 +10,7 @@ Awfice is a collection of tiny office suite apps:
* but they can't store their state, so whatever you type there would be lost on page refresh
* which can be also sold as a "good for your privacy" feature
* this project is only a half-joke, I actually use a few Awfice apps as quick scratchpads.
* the only way to save your job is to save a HTML or send it to the printer/print to PDF.
* The only way to save your job is to save a HTML or send it to the printer/print to PDF.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this one should be capital

Comment on lines +1 to +24
<html>
<head>
<FORM>
<INPUT TYPE="button" onClick="history.go(0)" VALUE="Clear All">
<input type="button" value="New Canvas"
onclick="window.open('draw.html')">
</FORM>
</head>
<body>
<canvas id=v>
<script>
d=document,d.body.style.margin=0,P="onpointer",
c=v.getContext`2d`,
v.width=innerWidth,
v.height=innerHeight,
c.lineWidth=2,f=0,
d[P+"down"]=e=>
{f=e.pointerId+1;e.preventDefault();c.beginPath();c.moveTo(e.x,e.y)};d[P+"move"]=e=>{f==e.pointerId+1&&c.lineTo(e.x,e.y);c.stroke()},
d[P+"up"]=_=>f=0
</script>
</canvas>
</body>
</html>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lot of meaningless extra bytes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants