Skip to content

Commit

Permalink
Splits imports up per-feature. (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbleigh authored Oct 21, 2016
1 parent efdf54e commit 2a88d01
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 12 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
],
"dependencies": {
"polymer": "Polymer/polymer#^1.2",
"firebase": "^3.5",
"firebase": ">= 3.5.1 < 4.0",
"app-storage": "polymerelements/app-storage#^0.9.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions firebase-app-script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script src="../firebase/firebase-app.js"></script>
2 changes: 1 addition & 1 deletion firebase-app.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
-->

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase.html">
<link rel="import" href="firebase-app-script.html">
<dom-module id="firebase-app">
<script>
(function() {
Expand Down
1 change: 1 addition & 0 deletions firebase-auth-script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script src="../firebase/firebase-auth.js"></script>
2 changes: 1 addition & 1 deletion firebase-auth.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
-->

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase.html">
<link rel="import" href="firebase-common-behavior.html">
<link rel="import" href="firebase-auth-script.html">

<!--
`firebase-auth` is a wrapper around the Firebase authentication API. It notifies
Expand Down
2 changes: 1 addition & 1 deletion firebase-common-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../app-storage/app-network-status-behavior.html">
<link rel="import" href="firebase.html">
<link rel="import" href="firebase-app-script.html">
<script>
(function() {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion firebase-database-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="../app-storage/app-storage-behavior.html">
<link rel="import" href="firebase-common-behavior.html">
<link rel="import" href="firebase.html">
<link rel="import" href="firebase-database-script.html">
<script>
(function() {
'use strict';
Expand Down
1 change: 1 addition & 0 deletions firebase-database-script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script src="../firebase/firebase-database.js"></script>
1 change: 0 additions & 1 deletion firebase-document.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase-database-behavior.html">
<link rel="import" href="firebase.html">
<script>
'use strict';

Expand Down
1 change: 1 addition & 0 deletions firebase-messaging-script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script src="../firebase/firebase-messaging.js"></script>
2 changes: 1 addition & 1 deletion firebase-messaging.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
-->

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase.html">
<link rel="import" href="firebase-common-behavior.html">
<link rel="import" href="firebase-messaging-script.html">

<!--
`firebase-messaging` is a wrapper around the Firebase Cloud Messaging API. It
Expand Down
1 change: 0 additions & 1 deletion firebase-query.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

<link rel="import" href="../polymer/polymer.html">
<link rel="import" href="firebase-database-behavior.html">
<link rel="import" href="firebase.html">


<!--
Expand Down
1 change: 1 addition & 0 deletions firebase-storage-script.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<script src="../firebase/firebase-storage.js"></script>
6 changes: 5 additions & 1 deletion firebase.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
https://github.com/firebase/polymerfire/blob/master/LICENSE
-->

<script src="../firebase/firebase.js"></script>
<link rel="import" href="firebase-app-script.html">
<link rel="import" href="firebase-auth-script.html">
<link rel="import" href="firebase-database-script.html">
<link rel="import" href="firebase-messaging-script.html">
<link rel="import" href="firebase-storage-script.html">
1 change: 0 additions & 1 deletion test/firebase-common-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<script src="../../web-component-tester/browser.js"></script>

<link rel="import" href="../../app-storage/test/app-storage-compatibility-suite.html">
<link rel="import" href="../firebase.html">
<link rel="import" href="../firebase-common-behavior.html">
<link rel="import" href="../firebase-app.html">
</head>
Expand Down
1 change: 0 additions & 1 deletion test/firebase-database-behavior.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<script src="../../web-component-tester/browser.js"></script>

<link rel="import" href="../../app-storage/test/app-storage-compatibility-suite.html">
<link rel="import" href="../firebase.html">
<link rel="import" href="../firebase-database-behavior.html">
<link rel="import" href="../firebase-app.html">
</head>
Expand Down
1 change: 0 additions & 1 deletion test/firebase-document.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
<script src="../../web-component-tester/browser.js"></script>

<link rel="import" href="../../app-storage/test/app-storage-compatibility-suite.html">
<link rel="import" href="../firebase.html">
<link rel="import" href="../firebase-app.html">
<link rel="import" href="../firebase-document.html">
</head>
Expand Down

0 comments on commit 2a88d01

Please sign in to comment.