Commit f047c4f8 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

parent 3dc9b58d
...@@ -18,10 +18,10 @@ ...@@ -18,10 +18,10 @@
* for more information * for more information
*/ */
import instanceComponent from './deploy_board_instance_component.js.es6'; const instanceComponent = require('./deploy_board_instance_component.js.es6');
import statusCodes from '~/lib/utils/http_status'; const statusCodes = require('~/lib/utils/http_status');
import Flash from '~/flash'; const Flash = require('~/flash');
import '~/lib/utils/common_utils.js.es6'; require('~/lib/utils/common_utils.js.es6');
module.exports = { module.exports = {
......
...@@ -8,8 +8,6 @@ ...@@ -8,8 +8,6 @@
* *
*/ */
const Vue = require('vue');
module.exports = { module.exports = {
props: { props: {
......
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
const stop = arg => ((arg instanceof Error) ? reject(arg) : resolve(arg)); const stop = arg => ((arg instanceof Error) ? reject(arg) : resolve(arg));
const next = () => { const next = () => {
if ((+new Date()) - startTime < timeout) { if (new Date().getTime() - startTime < timeout) {
setTimeout(fn.bind(null, next, stop), nextInterval); setTimeout(fn.bind(null, next, stop), nextInterval);
nextInterval *= 2; nextInterval *= 2;
} else { } else {
......
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