1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

preprocess dist for self hosted

This commit is contained in:
Kyle Spearrin
2017-08-15 09:16:19 -04:00
parent 2772bffd09
commit 635caa9ad0
5 changed files with 18 additions and 7 deletions

View File

@@ -53,8 +53,10 @@
<title page-title>bitwarden.com Password Manager</title>
<!-- @if !selfHosted !>
<script src="https://js.stripe.com/v2/"></script>
<script src="https://js.braintreegateway.com/web/dropin/1.4.0/js/dropin.min.js"></script>
<!-- @endif -->
<!-- @if true !>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"
integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

View File

@@ -1,4 +1,5 @@
(function (i, s, o, g, r, a, m) {
// @if !selfHosted
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date(); a = s.createElement(o),
@@ -6,3 +7,4 @@
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-81915606-3', 'auto');
// @endif