old_contents: import { bindable, customElement } from 'aurelia-templating';
  import { bindingMode } from 'aurelia-binding';
  import { inject } from 'aurelia-dependency-injection';
  import { getBooleanFromAttributeValue } from '../common/attributes';
  import { AttributeManager } from '../common/attributeManager';
  
  @customElement('md-navbar')
  @inject(Element)
  export class MdNavbar {
    @bindable({
      defaultBindingMode: bindingMode.oneTime
    }) fixed;
    fixedAttributeManager;
  
    constructor(element) {
      this.element = element;
    }
  
    attached() {
      this.fixedAttributeManager = new AttributeManager(this.fixedAnchor);
      if (getBooleanFromAttributeValue(this.fixed)) {
        this.fixedAttributeManager.addClasses('navbar-fixed');
      }
    }
  
    detached() {
      if (getBooleanFromAttributeValue(this.fixed)) {
        this.fixedAttributeManager.removeClasses('navbar-fixed');
      }
    }
  }
  
new_contents: import { bindable, customElement } from 'aurelia-templating';
  import { bindingMode } from 'aurelia-binding';
  import { inject } from 'aurelia-dependency-injection';
  import { getBooleanFromAttributeValue } from '../common/attributes';
  import { AttributeManager } from '../common/attributeManager';
  
  @customElement('md-navbar')
  @inject(Element)
  export class MdNavbar {
    @bindable({
      defaultBindingMode: bindingMode.oneTime
    }) mdFixed;
    fixedAttributeManager;
  
    constructor(element) {
      this.element = element;
    }
  
    attached() {
      this.fixedAttributeManager = new AttributeManager(this.fixedAnchor);
      if (getBooleanFromAttributeValue(this.mdFixed)) {
        this.fixedAttributeManager.addClasses('navbar-fixed');
      }
    }
  
    detached() {
      if (getBooleanFromAttributeValue(this.mdFixed)) {
        this.fixedAttributeManager.removeClasses('navbar-fixed');
      }
    }
  }
  
subject: rename fixed attribute to md-fixed