APIs

Show:
  1. /**
  2. ProStudio Backbone > View
  3. @class ProStudioView
  4. @constructor
  5. @return {Object} instantiated ProStudioView
  6. **/
  7. define(['jquery', 'backbone', 'UpgradeView'], function ($, Backbone, UpgradeView) {
  8.  
  9. var ProStudioView = Backbone.View.extend({
  10.  
  11. /**
  12. Constructor
  13. @method initialize
  14. **/
  15. initialize: function () {
  16. var self = this;
  17. self._wireUI();
  18. self.m_upgradeView = new UpgradeView({el: Elements.UPGRADE_MODAL});
  19. },
  20.  
  21. _wireUI:function () {
  22. var self = this;
  23. $(Elements.CONVERT_ACCOUNT).on('click',function(){
  24. window.open('http://galaxy.mediasignage.com/WebService/signagestudio.aspx?mode=login&v=4&eri=f7bee07a7e79c8efdb961c4d30d20e10c66442110de03d6141', '_blank');
  25. });
  26.  
  27. $(Elements.CLASS_SHOW_UPGRADE_MODAL).on('click',function(){
  28. $(Elements.UPGRADE_MODAL).modal('show');
  29. //window.open('http://www.digitalsignage.com/_html/signup.html', '_blank');
  30. });
  31. }
  32. });
  33.  
  34.  
  35.  
  36. return ProStudioView;
  37. });
  38.  
  39.