ippa / jaws

Jaws - HTML5 canvas javascript 2D Game Framework
https://jawsjs.ippa.se
GNU Lesser General Public License v3.0
364 stars 75 forks source link

Text.js: Remove DOM, more chaining #104

Closed videlais closed 11 years ago

videlais commented 11 years ago

This removes all the DOM references and, when possible, has functions return "this" for more chaining.

ippa commented 11 years ago

Ah, didn't realise you had been doing DOM-support in Text too (haven't used that constructor much). If i knew I would have given you a betters heads up.

Feels like the right decision moving towards 1.0 anyhow, I don't know of one jaws-game using DOM-sprites. Also, DOM-sprites never worked fully with some other helper classes.