Guest User

Untitled

a guest
Jul 17th, 2018
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. next: function() {
  2. this._slideshow.nextSlide()
  3. },
  4.  
  5. YUI.add("squarespace-widgets-lightbox2", function(e) {
  6. e.namespace("Squarespace.Widgets"),
  7. e.Squarespace.Widgets.Lightbox2 = e.Squarespace.Lightbox2 = e.Base.create("Lightbox2", e.Squarespace.Widgets.Gismo, [], {
  8. initializer: function() {
  9. e.config.win.ACTIVE_LIGHTBOX = this,
  10. this._overlay = new e.Squarespace.Lightbox2Overlay({
  11. theme: this.get("theme")
  12. }),
  13. this._overlay.on("hide", this.hideAndDestroy, this),
  14. this.bMobile = e.SQS.Gallery.Manager.isMobile(),
  15. this.requestUpdateHeightAndRefresh = i(this.updateHeightAndRefresh.bind(this))
  16.  
  17. },
  18. //removed irrelevant code for example
  19. previous: function() {
  20. this._slideshow.previousSlide()
  21. },
  22. next: function() {
  23. this._slideshow.nextSlide()
  24. },
Add Comment
Please, Sign In to add comment