Commit Graph

5 Commits

Author SHA1 Message Date
Yusuf Kandemir
faeb1f97a0 Some refactoring 2018-11-11 21:53:08 +03:00
Yusuf Kandemir
65f35e747b Removed comments that only shows steps
This steps was only helpful while implementing the algorithm. And could be useful while comparing with the W3C specification, but they take up too much space.
2018-11-11 21:00:12 +03:00
Yusuf Kandemir
793d596541 Changed array_map to foreach
Unfortunately array_map only accepts arrays. Foreach looks more understandable (and performant) this way.
2018-11-11 20:54:31 +03:00
Yusuf Kandemir
0e2f17ac37 Extracted methods to a class 2018-11-11 20:49:54 +03:00
Yusuf Kandemir
880d3d8346 Same functionality implemented in OOP 2018-11-10 15:06:43 +03:00