diff --git a/wat-github/wat-github.html b/wat-github/wat-github.html index ae6cb04..9be813e 100644 --- a/wat-github/wat-github.html +++ b/wat-github/wat-github.html @@ -10,9 +10,42 @@ 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 +See the License for the specific language governing permissions and limitations +under the License. +--> -limitations under the License. + @@ -46,7 +79,7 @@ top: calc(40vh - 60px); width: 250px; height: 120px; - z-index: 10; + z-index: 6; text-align: center; vertical-align: middle; } @@ -97,8 +130,36 @@ - \ No newline at end of file + diff --git a/wat-player-controls/wat-player-controls.html b/wat-player-controls/wat-player-controls.html index 04b9a4f..686e349 100644 --- a/wat-player-controls/wat-player-controls.html +++ b/wat-player-controls/wat-player-controls.html @@ -10,9 +10,8 @@ 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. +See the License for the specific language governing permissions and limitations +under the License. --> diff --git a/wat-wat/wat-wat.js b/wat-wat/wat-wat.js index eec3c81..7a867fc 100644 --- a/wat-wat/wat-wat.js +++ b/wat-wat/wat-wat.js @@ -53,7 +53,11 @@ Polymer('wat-wat', { } this.$['wat-code-editor'].updatePreview(); - }); + }.bind(this)); + + this.addEventListener('files-saved', function(event) { + window.location.hash = event.detail; + }.bind(this)); this.addEventListener('token-changed', function(event) { this.loadAnimation(); @@ -184,4 +188,4 @@ Polymer('wat-wat', { signOut: function() { this.$.github.signOut(); } -}); \ No newline at end of file +});