UNPKG

foam-framework

Version:
29 lines (26 loc) 572 B
/** * @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 */ CLASS({ package: 'foam.metrics', name: 'PageView', extends: 'foam.metrics.Metric', properties: [ { name: 'type', defaultValue: 'pageview', }, { model_: 'StringProperty', name: 'url', required: true, }, ], });