PHP Classes

File: examples/websocket/scripts/app/client-collection.js

Recommend this page to a friend!
  Classes of Haseeb Ahmad Basil   PHP Skeleton Framework   examples/websocket/scripts/app/client-collection.js   Download  
File: examples/websocket/scripts/app/client-collection.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Skeleton Framework
Extensive Web application development framework
Author: By
Last change:
Date: 8 years ago
Size: 590 bytes
 

Contents

Class file image Download
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ $(function(){ window.Client = Backbone.Model.extend({ }); window.ClientList = Backbone.Collection.extend({ model: Client }); window.ClientView = Backbone.View.extend({ tagName: 'li', template: _.template($('#client-template').html()), events: { 'dblclick li.client' : 'edit' }, initialize: function () { _.bindAll(this, 'render', 'close'); this.model.bind('change', this.render); this.model.view = this; }, setName: function () { } }) })