HTML and CSS Reference
In-Depth Information
A
Appendix
Appendix
Listing A-1
var app = app || {};
app.model = app.model || {};
/**
* A movie model used for all movies within the application
*
* @alias app.model.movie
* @constructor
* @param {String} title
* @param {String} rtid
* @param {String} posterframe
* @param {String} synopsis
*/
app.model.movie = function appModelMovie(title, rtid, posterframe, synopsis) {
/**
* The video's instance variables
*/
var _title,
_rtid,
_posterframe,
_synopsis,
_releaseDate,
_videos = [],
_actors = [],
_rating,
_favorite = false,
_self = this;
 
Search WWH ::




Custom Search