1 /**2 * ModelFile.js3 * Description: Abstract model for files and directories.4 * Author: gerardooscarjt@gmail.com5 * Tipical use:6 *7 */8 9 var ModelFile = function() {10 11 // Stored attributes12 this.id = 0;13 this.name = '';14 this.size = 0;15 this.type = 'a';16 this.cached = false;17 18 // Memory attributes19 this.parentNode = null;20 this.path = '';21 };22 23 ModelFile.prototype.getPath = function() {24 25 };26 27 ModelFile.prototype.isType = function(type) {28 29 };30 31
Este ShareCode tiene versiones:
- Casper Model ... (24/04/2013)
- Casper Model ... (24/04/2013)
- Casper Model ... (24/04/2013)
- Casper Model ... (24/04/2013)
Enlace
El enlace para compartir es: