Skip to content

Commit

Permalink
Sync with skeleton: Switch back to using function closures
Browse files Browse the repository at this point in the history
  • Loading branch information
tomivirkki committed Jan 16, 2018
1 parent 4f179b6 commit 33f4ec7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/vaadin-upload-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
</template>

<script>
{
(function() {

/**
* `<vaadin-upload-file>` element represents a file in the file list of `<vaadin-upload>`.
Expand Down Expand Up @@ -225,6 +225,6 @@
*/
window.Vaadin = window.Vaadin || {};
Vaadin.UploadFileElement = UploadFileElement;
}
})();
</script>
</dom-module>
4 changes: 2 additions & 2 deletions src/vaadin-upload.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
</template>

<script>
{
(function() {

/**
* `<vaadin-upload>` is a Polymer 2 element for uploading multiple files with drag and drop support.
Expand Down Expand Up @@ -912,6 +912,6 @@
* @namespace Vaadin
*/
window.Vaadin.UploadElement = UploadElement;
}
})();
</script>
</dom-module>

0 comments on commit 33f4ec7

Please # to comment.