Коммит 276555f7 создал по автору sarahghp's avatar sarahghp
Просмотр файлов

Nonworking code, for example

владелец 5622affa
# frozen_string_literal: true
require 'spec_helper'
describe 'Toolbar', :js do
describe 'injected toolbar' do
add_script = %q(
const scriptEl = document.createElement('script');
scriptEl.setAttribute('src', 'https://host-island.sarahghp.now.sh/review-toolbar.js');
scriptEl.setAttribute('data-project' , '11790219');
scriptEl.setAttribute('data-discussion' , '1');
scriptEl.setAttribute('data-name' , 'ReviewAppToolbar');
scriptEl.setAttribute('data-project-id' , '11790219');
scriptEl.setAttribute('data-merge-request-id' , '1');
scriptEl.setAttribute('id' , 'review-app-toolbar-script');
scriptEl.setAttribute('data-mr-url' , 'https://gitlab.com');
document.head.appendChild(scriptEl);
)
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать