/**
 * @license
 * Copyright 2015 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',
  name: 'IntView',
  extends: 'foam.u2.TextField',

  axioms: [
    foam.u2.CSS.create({
      code: '^:read-only { border: none; background: rgba(0,0,0,0); }'
    })
  ],

  properties: [
    [ 'type', 'number' ],
    { class: 'Int', name: 'data' },
    'min',
    'max'
  ],

  methods: [
    function initE() {
      this.SUPER();
      if ( this.min != undefined ) this.setAttribute('min', this.min);
      if ( this.max != undefined ) this.setAttribute('max', this.max);
    },

    function link() {
      this.attrSlot(null, this.onKey ? 'input' : null).linkFrom(this.data$)
    },

    function fromProperty(p) {
      this.min = p.min;
      this.max = p.max;
    }
  ]
});

@@ -1275,24 +1275,45 @@
 operty(p) %7B%0A
+      this.SUPER(p);%0A
       this.m

Call SUPER in IntView's fromProperty