Change rake test:js to run headless.

To run tests in browser, use rake test:js_in_browser.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Implement Edit Track synchronization between tabs/windows.

The use of WebStorage API requires browser IE 8+ and equivalent.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Fix feature overlapping sidebar when dragged or resized.

The overlap is because drag / resize helper is attached to body. While
draggable has an option to attach helper to another element, resizable
doesn't. The only option thus is this hack.

Thanks to Harsh Gupta <gupta.harsh96@gmail.com> for suggesting z-index.

closes #56.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Add ability to collapse and uncollapse a track.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Add chevron to indicate collapsible nature of track.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Increase sidebar z-index to prevent gene overlapping when resizing.

The commmit 9ac2933 introduced the functionality but gene model has a
much higher z-index when resized. This patch takes care of that bug.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Add editor synchronization to Roadmap.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Remove a redundant style.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Move undo/redo from context menu to toolbar.

And reorder buttons in toolbar.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Move toolbar out of edit track.

And prettify track labels with chevron.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Set border-radius 0 for buttons in the toolbar.

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
Add button to toggle track labels.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>
Make search track deletable

Any track can now be made deletable by adding {deletable: true} to
track config.

Signed-off-by: Vivek Rai <vivekraiiitkgp@gmail.com>