/**
 * @license
 * Copyright 2016 Google Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
foam.CLASS({
  package: 'foam.u2.md',
  name: 'ActionView',
  extends: 'foam.u2.Element',

  axioms: [
    foam.u2.CSS.create({
      code: function CSS() {/*
        ^unavailable {
          display: none;
        }
      */}
    })
  ],

  properties: [
    'data',
    'action',
    {
      class: 'Boolean',
      name: 'raised',
      documentation: 'Controls the "raised" attribute in Polymer. Defaults ' +
          'to false; set this to true for a raised, bordered button.'
    },
    {
      name: 'label',
      expression: function(action) { return action.label; }
    }
  ],

  methods: [
    function initE() {
      this.nodeName = 'paper-button';
      this.addClass(this.myClass())
          .attrs({ raised: this.raised$ })
          .on('click', this.click)
          .add(this.label$);

      if ( this.action.isAvailable ) {
        this.enableClass(this.myClass('unavailable'),
              this.action.createIsAvailable$(this.data$), true /* negate */);
      }

      if ( this.action.isEnabled ) {
        this.attrs({
          disabled: this.action.createIsEnabled$(this.data$).map(function(e) {
            return e ? false : 'disabled';
          })
        });
      }
    }
  ],

  listeners: [
    function click() {
      this.action.maybeCall(this.__subContext__, this.data);
    }
  ]
});

@@ -719,78 +719,15 @@
 %0A%0A  
-axioms: %5B%0A    foam.u2.CSS.create(%7B%0A      code: function CSS() %7B/*%0A    
+css: %60%0A
     
@@ -747,20 +747,16 @@
 %7B%0A      
-   
- 
 display:
@@ -770,34 +770,13 @@
     
-    %7D%0A      */%7D%0A    %7D)%0A  %5D
+%7D%0A  %60
 ,%0A%0A 

Update CSS to new style.