Commit 50aac984 authored by Daniel Shumway's avatar Daniel Shumway

chore: remove `const` for `var`

- better browser compatibility
- at some point I'll set up Babel or something
parent 3f422864
Pipeline #8225228 passed with stage
in 1 minute and 41 seconds
const GLOBAL = 'Distilled'; //TODO: what's the point of `const` here other than nerd cred and locking out old browsers?
const STATUS = Object.freeze({
var GLOBAL = 'Distilled';
var STATUS = Object.freeze({
PASSED : 'passed',
FAILED : 'failed',
PENDING : 'pending',
SKIPPED : 'skipped',
SKIPPED : 'skipped'
});
const ENVIRONMENTS = Object.freeze({
var ENVIRONMENTS = Object.freeze({
NODE : 'node',
BROWSER : 'browser',
BROWSER : 'browser'
});
const REPORTERS = Object.freeze({
var REPORTERS = Object.freeze({
default : (function () {
var buffer = '';
var log = function (message) {
......@@ -53,7 +53,7 @@ const REPORTERS = Object.freeze({
}
}
};
}()),
}())
});
var environment = (function () {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment