1 // ==========================================================================
  2 // Project:   SproutCore - JavaScript Application Framework
  3 // Copyright: ©2006-2011 Strobe Inc. and contributors.
  4 //            Portions ©2008-2011 Apple Inc. All rights reserved.
  5 // License:   Licensed under MIT license (see license.js)
  6 // ==========================================================================
  7 
  8 
  9 /**
 10  * Renders and updates the HTML representation of a popup button.
 11  */
 12 SC.BaseTheme.popupButtonRenderDelegate = SC.BaseTheme.buttonRenderDelegate.create({
 13   render: function(dataSource, context) {
 14     context.setAttr('aria-haspopup', 'true');
 15     sc_super();
 16   },
 17 
 18   update: function(dataSource, jQuery) {
 19     sc_super();
 20   }
 21 });
 22