Bug #76812 [Opn->Spm]: Phone
| From: | requinix@php.net | Date: | Wed, 29 Aug 2018 21:03:31 +0000 |
| Subject: | Bug #76812 [Opn->Spm]: Phone | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216790@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76812&edit=1
ID: 76812
Updated by: requinix@php.net
Reported by: Gary92984 at outlook dot com
Summary: Phone
-Status: Open
+Status: Spam
Type: Bug
Package: *General Issues
Operating System: Android
PHP Version: 5.6Git-2018-08-29 (Git)
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2018-08-29 21:00:57] Gary92984 at outlook dot com
Description:
------------
div></div>
<script>
// The old draw tool. Rewrite this.
function draw(pos, state, dispatch) {
function drawPixel({x, y}, state) {
let drawn = {x, y, color: state.color};
dispatch({picture: state.picture.draw([drawn])});
}
drawPixel(pos, state);
return drawPixel;
}
function line(pos, state, dispatch) {
// Your code here
}
let dom = startPixelEditor({
tools: {draw, line, fill, rectangle, pick}
});
document.querySelector("div").appendChild(dom);
</script>
Expected result:
----------------
Remove
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76812&edit=1