diff options
author | Andrew Dolgov <[email protected]> | 2011-11-08 20:40:44 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-11-08 20:40:44 +0400 |
commit | 81bea17aefb26859f825b9293c7c99192874806e (patch) | |
tree | fb244408ca271affa2899adb634788802c9a89d8 /lib/dijit/layout/AccordionPane.js | |
parent | 870a70e109ac9e80a88047044530de53d0404ec7 (diff) |
upgrade Dojo to 1.6.1
Diffstat (limited to 'lib/dijit/layout/AccordionPane.js')
-rw-r--r-- | lib/dijit/layout/AccordionPane.js | 28 |
1 files changed, 21 insertions, 7 deletions
diff --git a/lib/dijit/layout/AccordionPane.js b/lib/dijit/layout/AccordionPane.js index 98b92f8e8..394ba346c 100644 --- a/lib/dijit/layout/AccordionPane.js +++ b/lib/dijit/layout/AccordionPane.js @@ -1,16 +1,30 @@ /* - Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved. + Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved. Available via Academic Free License >= 2.1 OR the modified BSD license. see: http://dojotoolkit.org/license for details */ -if(!dojo._hasResource["dijit.layout.AccordionPane"]){ -dojo._hasResource["dijit.layout.AccordionPane"]=true; +if(!dojo._hasResource["dijit.layout.AccordionPane"]){ //_hasResource checks added by build. Do not use _hasResource directly in your code. +dojo._hasResource["dijit.layout.AccordionPane"] = true; dojo.provide("dijit.layout.AccordionPane"); dojo.require("dijit.layout.ContentPane"); -dojo.declare("dijit.layout.AccordionPane",dijit.layout.ContentPane,{constructor:function(){ -dojo.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead","","2.0"); -},onSelected:function(){ -}}); + + +dojo.declare("dijit.layout.AccordionPane", dijit.layout.ContentPane, { + // summary: + // Deprecated widget. Use `dijit.layout.ContentPane` instead. + // tags: + // deprecated + + constructor: function(){ + dojo.deprecated("dijit.layout.AccordionPane deprecated, use ContentPane instead", "", "2.0"); + }, + + onSelected: function(){ + // summary: + // called when this pane is selected + } +}); + } |