Skip to content

Commit

Permalink
moved the class comment to top for YUI doc generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rmsguhan committed Aug 24, 2011
1 parent 48e0d64 commit bcb45db
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions js/gallery-clipboard.js
Expand Up @@ -35,6 +35,22 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/**
* The ClipBoard class is desinged to be a node plugin and a wrapper over the flash movie
* to copy text contents to the OS clipboard. The class will place the flash movie below the given
* node so that a user action can trigger the copy of contents to the OS clip board using
* Flash's System.setClipboard method. Starting from flash 10, the clipboard can be set only
* off a user initiated event. So the JS class shall only set the string to be copied and will
* allow the flash movie's event to capture the user action and set the clipboard contents
* @class ClipBoard
* @constructor
* @extends Y.Plugin.Base
*/
function ClipBoard(config) {
ClipBoard.superclass.constructor.apply(this, arguments);
}

/**
* Template for embedding the flash movie in the object tag. Mainly for IE browsers
* @property OBJECT_TEMPLATE
Expand Down Expand Up @@ -108,22 +124,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
unsetCache = function(id, ev) {
delete flashEventCache[id][ev];
};


/**
* The ClipBoard class is desinged to be a node plugin and a wrapper over the flash movie
* to copy text contents to the OS clipboard. The class will place the flash movie below the given
* node so that a user action can trigger the copy of contents to the OS clip board using
* Flash's System.setClipboard method. Starting from flash 10, the clipboard can be set only
* off a user initiated event. So the JS class shall only set the string to be copied and will
* allow the flash movie's event to capture the user action and set the clipboard contents
* @class ClipBoard
* @constructor
* @extends Y.Plugin.Base
*/
function ClipBoard(config) {
ClipBoard.superclass.constructor.apply(this, arguments);
}

ClipBoard.NAME = COMPONENT_NAME;
ClipBoard.NS = COMPONENT_NAME;
Expand Down

0 comments on commit bcb45db

Please sign in to comment.