Commit f047c4f8 authored by Filipa Lacerda's avatar Filipa Lacerda

Changes after review

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