Class Index | File Index

Classes


Class RandomButtonView


Extends Backbone.View.
RandomButtonView
Defined in: randombuttonview.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Random comment generator button
Field Summary
Field Attributes Field Name and Description
 
The map of delegated event handlers
Method Summary
Method Attributes Method Name and Description
 
Click event handler that creates 5 new comment models with random texts
 
Initialize view, make sure button has a comment collection to work with
Class Detail
RandomButtonView()
Random comment generator button
Author: Bodnar Istvan .
Field Detail
{Object} events
The map of delegated event handlers
Method Detail
{Boolean} createComment()
Click event handler that creates 5 new comment models with random texts
Returns:
{Boolean} Returns false to stop propagation

initialize()
Initialize view, make sure button has a comment collection to work with

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Jul 10 2012 11:17:08 GMT+0200 (CEST)