a9aeadc56e
fix: context-menu out of sync after move
...
Moving a row, changes the object the `meta` variable points to. However
the context-menu got its own reference to the initial object when it
was initialized. Hence after a move, these two were out of sync. By
providing getters to the context menu, it should always have access to
the object the current meta variable is referencing.
2017-11-08 13:30:25 +01:00
92083d79aa
style: add valid jsdoc for parameters
2017-09-05 13:44:46 +02:00
ad47c8546b
style: make global variables explicit
2017-09-05 11:35:41 +02:00
23291d09c4
style: eslint fixes
...
This is mostly indentation and double->single quotes. It includes
turning qunit env on for qunit test-files and disabling no-magic-numbers
for a test-file that is all about moving a row from position one to
position two and back again.
2017-09-04 20:21:47 +02:00
6657fb97c2
added eslint
...
we have to decide if that's better than jshint or if we need both.
2017-08-28 16:38:44 +02:00
00a0cef2f0
fix: make user unable to delete all rows/cols
...
This should fix #109
2017-08-15 12:47:54 +02:00
5cbf537a9a
Wrap scripts into proper modules
2016-09-27 14:42:55 +02:00
7a58f5ea9c
Do not use pre- and post-increment operators
...
They are error prone, because the difference between ++i and i++ is too
subtle.
2016-09-27 13:15:20 +02:00
a1eb31421e
Rename cellArray to stop prevent js-conflicts
2015-08-27 10:41:22 +02:00
78ff256392
Translation adjustment
2015-08-17 14:44:59 +02:00
18e7efa341
Show icons for merg/split in context menu
2015-08-17 11:04:41 +02:00
b905fc5a4b
Show different strings/icon in contextmenu for merge/unmerge
2015-08-13 18:54:02 +02:00
9106423f07
Remove old col/rowspan entries from lang and context menu
2015-08-12 16:59:01 +02:00
44ac0825ea
Iterate over all cells in selection + tests
2015-08-11 15:20:08 +02:00
ef151cf724
Adjust type of col() and row() to col and row
2015-08-10 17:05:15 +02:00
229b9b30ae
run all custom code successfully through jslint
2014-01-23 15:18:27 +01:00
0f566ad1ad
various cleanups and fixes for javascript related to compression
2014-01-23 14:52:29 +01:00
0c1f7620fc
fixed various col/row add/span bugs
2014-01-22 20:52:16 +01:00
e4b8d4af0e
fixed colspan disabling
2014-01-17 10:33:01 +01:00
6a14e66c09
do not allow deletion of last row or column
2014-01-17 10:27:52 +01:00
2e5a374f7e
correctly determine if cells can be merged
...
to simplifiy some code now all cells are required to have rowspan and
colspan properties (even hidden ones)
2014-01-16 17:16:41 +01:00
a215f5ac6e
correctly copy over data from merged cells
2014-01-16 16:23:03 +01:00
bf103f2942
moved context menu definition to its own file
2014-01-16 15:15:55 +01:00