AccordionPane.js 873 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. Copyright (c) 2004-2012, The Dojo Foundation All Rights Reserved.
  3. Available via Academic Free License >= 2.1 OR the modified BSD license.
  4. see: http://dojotoolkit.org/license for details
  5. */
  6. if(!dojo._hasResource["dijit.layout.AccordionPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code.
  7. dojo._hasResource["dijit.layout.AccordionPane"] = true;
  8. dojo.provide("dijit.layout.AccordionPane");
  9. dojo.require("dijit.layout.ContentPane");
  10. dojo.declare("dijit.layout.AccordionPane", dijit.layout.ContentPane, {
  11. // summary:
  12. // Deprecated widget. Use `dijit.layout.ContentPane` instead.
  13. // tags:
  14. // deprecated
  15. constructor: function(){
  16. dojo.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead", "", "2.0");
  17. },
  18. onSelected: function(){
  19. // summary:
  20. // called when this pane is selected
  21. }
  22. });
  23. }