Move moment inclusion from gr-date to gr-app

This allows for moment to only be included in standalone.

Change-Id: I35305e73e3ec6882f3a8ad3f40a3940bbe9a8bc2
This commit is contained in:
Thomas Shafer
2019-03-07 15:20:07 -08:00
parent ec796b3eb4
commit af16b51d3c
3 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ limitations under the License.
safeTypesBridge: Gerrit.SafeTypes.safeTypesBridge,
});
</script>
<script src="../bower_components/moment/moment.js"></script>
<link rel="import" href="../behaviors/base-url-behavior/base-url-behavior.html">
<link rel="import" href="../behaviors/keyboard-shortcut-behavior/keyboard-shortcut-behavior.html">

View File

@@ -20,7 +20,6 @@ limitations under the License.
<link rel="import" href="../gr-rest-api-interface/gr-rest-api-interface.html">
<link rel="import" href="../../../styles/shared-styles.html">
<script src="../../../bower_components/moment/moment.js"></script>
<script src="../../../scripts/util.js"></script>
<dom-module id="gr-date-formatter">

View File

@@ -60,3 +60,4 @@ limitations under the License.
<link rel="import"
href="../bower_components/iron-test-helpers/iron-test-helpers.html" />
<link rel="import" href="test-router.html" />
<script src="../bower_components/moment/moment.js"></script>