Code coverage report for lib/attributes/base.js

Statements: 100% (10 / 10)      Branches: 100% (0 / 0)      Functions: 75% (3 / 4)      Lines: 100% (10 / 10)      Ignored: none     

All files » lib/attributes/ » base.js
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 431           1   9 9 9 9 9 9     9           1                                        
var protoclass = require("protoclass");
 
/**
 * attribute binding
 */
 
function Attribute(options) {
 
  this.view     = options.view;
  this.node     = options.node;
  this.section  = options.section;
  this.key      = options.key;
  this.value    = options.value;
  this.document = this.view.template.document;
 
  // initialize the DOM elements
  this.initialize();
}
 
/**
 */
 
module.exports = protoclass(Attribute, {
 
  /**
   */
 
  initialize: function() {
  },
 
  /**
   */
 
  bind: function() {
  },
 
  /**
   */
 
  unbind: function() {
  }
});