nice dynamic arrows

This commit is contained in:
Peter Cottle 2012-12-24 12:35:09 -08:00
parent cab63cbce0
commit 7acde81510
4 changed files with 40 additions and 17 deletions

View file

@ -89,7 +89,10 @@ var LeftRightView = PositiveNegativeBase.extend({
this.destination = options.destination;
this.navEvents = options.events;
this.JSON = {};
this.JSON = {
showLeft: (options.showLeft === undefined) ? true : options.showLeft,
lastNav: (options.lastNav === undefined) ? false : options.lastNav
};
this.render();
}