Files
gerrit/polygerrit-ui/app/embed/gr-diff.html
Ole Rehmsen 1e05151207 Do not load theme when embedding gr-diff
This allows the embedding app to define their own theme, which will
often be necessary.

Change-Id: Ic5db0bb55e26fdef28f5e95bebe9e7fe8aa3b3a8
2019-04-25 15:49:34 +02:00

25 lines
928 B
HTML

<!--
@license
Copyright (C) 2019 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<script>
// Needed for JSCompiler to understand it's global.
// eslint-disable-next-line no-unused-vars, prefer-const
let Gerrit = window.Gerrit || {};
window.Gerrit = Gerrit;
</script>
<link rel="import" href="../elements/diff/gr-diff/gr-diff.html">
<link rel="import" href="../elements/diff/gr-diff-cursor/gr-diff-cursor.html">