From 8032df64de4f397817e953500755c8628430f8e2 Mon Sep 17 00:00:00 2001 From: Alfredo Sumaran <alfredo@gitlab.com> Date: Fri, 6 Jan 2017 19:02:53 -0500 Subject: [PATCH] Move specific javascript definition the top --- app/views/ci/lints/show.html.haml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/views/ci/lints/show.html.haml b/app/views/ci/lints/show.html.haml index 9af00319afa..95eb9a57152 100644 --- a/app/views/ci/lints/show.html.haml +++ b/app/views/ci/lints/show.html.haml @@ -1,5 +1,7 @@ - page_title "CI Lint" - page_description "Validate your GitLab CI configuration file" +- content_for :page_specific_javascripts do + = page_specific_javascript_tag('lib/ace.js') %h2 Check your .gitlab-ci.yml @@ -21,7 +23,3 @@ .col-sm-12 .results.ci-template = render partial: 'create' if defined?(@status) - - -- content_for :page_specific_javascripts do - = page_specific_javascript_tag('lib/ace.js') -- GitLab