git @ Cat's Eye Technologies yoob.js / 31182a2
Fix bug in yoob.Playfield.map. Chris Pressey 4 years ago
3 changed file(s) with 9 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
00 Changelog
11 =========
22
3 * version 0.13
4
5 Fixed NaN bugs in element-factory.
6
7 Fixed a bug in `yoob.Playfield.map`.
8
39 * version 0.12
410
511 Fixed a bug in `yoob.Cursor.clone`.
00 yoob.js
11 =======
22
3 *Version 0.12. Everything subject to change.*
3 *Version 0.13-PRE. Everything subject to change.*
44 *For version history, see the file [HISTORY.markdown](HISTORY.markdown).*
55
66 yoob.js started out as the HTML5 counterpart to [yoob][], but has since
00 /*
1 * This file is part of yoob.js version 0.12
1 * This file is part of yoob.js version 0.13-PRE
22 * Available from https://github.com/catseye/yoob.js/
33 * This file is in the public domain. See http://unlicense.org/ for details.
44 */
273273 if (maxDy === undefined) maxDy = 0;
274274 for (var y = this.minY + minDy; y <= this.maxY + maxDy; y++) {
275275 for (var x = this.minX + minDx; x <= this.maxX + maxDx; x++) {
276 destPf.putDirty(x, y, fun(pf, x, y));
276 destPf.putDirty(x, y, fun(this, x, y));
277277 }
278278 }
279279 destPf.recalculateBounds();