- Timestamp:
- 03/03/14 20:00:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
js/viewer-f0/js/Structures/NeuroClass.js
r143 r159 16 16 }); 17 17 18 var nodes = data[0].child ren;18 var nodes = data[0].childNodes; 19 19 20 20 for (var i = 0; i < nodes.length; i++) { 21 if(nodes[i].nodeType == 3) 22 continue; 21 23 var node = $(nodes[i]); 22 24 this.addProperties(node); … … 34 36 }); 35 37 36 //properties["VALUE"] = typeof(properties["DEF"]) === 'undefined' ? 0 : properties["DEF"];37 38 38 this._properties[properties["ID"]] = properties; 39 39 } 40 41 NeuroClass.prototype.getScheme = function(){ 42 return this.class["SYMBOL"].split(',').map(Number); 43 }
Note: See TracChangeset
for help on using the changeset viewer.