diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-10-10 14:06:42 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-10 14:06:42 +0300 |
commit | b5029214639593af5b867e9c8f06dd52767b7362 (patch) | |
tree | 223541e93dfdfe6aec355e7064949e58502182e4 /app/assets/javascripts/jobs | |
parent | 377c10b49391b02dee97b659575c53a5c5d2ffbe (diff) |
Remove Build code from global namespace
Diffstat (limited to 'app/assets/javascripts/jobs')
-rw-r--r-- | app/assets/javascripts/jobs/job_details_mediator.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/assets/javascripts/jobs/job_details_mediator.js b/app/assets/javascripts/jobs/job_details_mediator.js index cc014b815c4..14c7b96e54d 100644 --- a/app/assets/javascripts/jobs/job_details_mediator.js +++ b/app/assets/javascripts/jobs/job_details_mediator.js @@ -5,7 +5,8 @@ import Visibility from 'visibilityjs'; import Poll from '../lib/utils/poll'; import JobStore from './stores/job_store'; import JobService from './services/job_service'; -import '../build'; +import Job from '../job'; +import handleRevealVariables from '../build_variables'; export default class JobMediator { constructor(options = {}) { @@ -20,7 +21,8 @@ export default class JobMediator { } initBuildClass() { - this.build = new Build(); + this.build = new Job(); + handleRevealVariables(); } fetchJob() { |