insomnia/app/templating/extensions/timestamp-extension.js
Gregory Schier 8452e8b777 Some eslint refactoring (#109)
* Fixed duplication kve bug

* Some changes

* Add proptypes linting

* Fixed proptypes even more

* Filename linting
2017-03-07 21:52:17 -08:00

13 lines
231 B
JavaScript

import BaseExtension from './base/base-extension';
export default class TimestampExtension extends BaseExtension {
constructor () {
super();
this.tags = ['timestamp'];
}
run (context) {
return Date.now();
}
}