Brian Schlenker
8277399c61
Fix bad merge ( #79 )
...
* Fix bad merge
Some classes were still prefixed by ascii,
and constants not prefixed by c.
* More es6 changes and refactorings
Added helper methods to vector for creating vector from touch event and
mouse event. Added up, down, left, right helper methods.
* Refactor draw.js into one module per draw function
2017-10-04 10:07:05 +01:00
Aleksandr Levchuk
f9e489c737
Stop coverting v's into ^'s ( Closes #55 ) ( #72 )
2017-01-21 14:58:37 +00:00
Brian Schlenker
141b8eff92
Updated project to use es6 classes, arrow functions, latest closure-compiler, latest jquery ( #77 )
...
* Update jquer and closure compiler
* Move to es6 classes, arrow functions, for/of
* Move to es6 style modules
* Add .DS_Store to .gitignore
* Remove note to update compile.sh
2017-01-21 14:55:18 +00:00
ridiculum
e80810b683
improve text export
...
* Replace ERASE_CHAR (\u2009) in exported text with ASCII space.
* Fix regular expression that trims whitespace at line ends.
2015-04-22 21:28:00 +02:00
Lewis Hemens
7a420f0c97
Minor text rendering issue fixes
2015-03-24 21:45:41 +00:00
Lewis Hemens
bb29cdc17f
Partial fix of V issue
2014-05-07 21:58:40 +01:00
Lewis Hemens
c188da9df9
Tweaked rendering logic for lines next to each other
2014-04-27 14:30:54 +01:00
Lewis Hemens
b9b036d1b6
Arrow tool, currently doesn't support re-sizing, also changed default dash to not be the em dash
2014-04-27 13:20:23 +01:00
Lewis Hemens
200257d907
Working version of select tool
2014-04-07 23:28:20 +01:00
Lewis Hemens
864bd859f0
File saving updates
2014-03-23 19:55:46 +00:00
Lewis Hemens
93a927ead5
Implemented state redo function
2014-03-22 22:30:08 +00:00
Lewis Hemens
089e94ab55
GJSLinting
2014-02-23 19:06:09 +00:00
Lewis Hemens
2b8368d63b
Moved dirty bit into the state
2014-02-23 17:13:22 +00:00
Lewis Hemens
92e413357a
Added snap to nearest special char for mobile, mobile detection logic, refactoring of standard directions into constants.
2014-02-20 00:10:20 +00:00
Lewis Hemens
5a6de282b6
Completed resize tool, skil 4 way junctions and simplified logic
2014-02-09 18:00:55 +00:00
Lewis Hemens
360b9d255d
Tweaked char dimensions, added in a hack for importing specil chars
2014-01-22 23:20:17 +00:00
Lewis Hemens
1c3c668247
Added clear method and removed edge of screen bug
2014-01-22 22:57:33 +00:00
Lewis Hemens
bc79014d0b
Added import tool
2014-01-22 22:32:16 +00:00
Lewis Hemens
493d86de0b
Fixed undo for move tool
2014-01-22 21:28:15 +00:00
Lewis Hemens
2c31dc1df8
Added working export tool
2014-01-21 23:31:58 +00:00
Lewis Hemens
3f9384e727
Implemented undo function
2014-01-21 22:34:56 +00:00
Lewis Hemens
1c538caade
Fixed up erase and added scratch draw highlighting
2014-01-20 21:58:25 +00:00
Lewis Hemens
7aca5737a4
Lots of code tidying
2014-01-19 14:23:17 +00:00
Lewis Hemens
fc59101bf5
Fixed resize bug
2014-01-19 13:28:36 +00:00
Lewis Hemens
24be421d5e
Partial completion of basic move functionality, missing deletion of existing structures however
2014-01-18 00:28:46 +00:00
Lewis Hemens
e0b0505332
New state model is magical, introduced special character whose value is 'inferred' from it's surroundings. This may be the coolest thing ever.
2014-01-13 23:17:02 +00:00
Lewis Hemens
dda36a9a7f
Added box drawing and made this the default action
2014-01-12 16:51:16 +00:00
Lewis Hemens
226cc82ea1
Added dirty bits for efficient drawing
2014-01-12 11:09:55 +00:00
Lewis Hemens
a69354b535
Fixed some type errors
2014-01-12 10:48:39 +00:00
Lewis Hemens
ad12ab5633
Linted all files
2014-01-12 10:37:38 +00:00
Lewis Hemens
34a91e97c5
Seperated state controller, working drag to draw example
2014-01-11 18:53:45 +00:00
Lewis Hemens
1feea9778c
Updated controller logic to have dynamic drag/draw mode
2014-01-11 17:41:44 +00:00
Lewis Hemens
d51221f089
Closure typing cleanup, added grid and simple ability to clean to render cells
2014-01-11 16:40:01 +00:00
Lewis Hemens
28d2d49b1c
Refactor namespace to be less verbose
2014-01-09 20:18:46 +00:00
Lewis Hemens
b387e22c16
Added missing state class, and updated readme
2014-01-08 21:58:41 +00:00