Skip to content

Commit

Permalink
remove promise-polyfill (#9812)
Browse files Browse the repository at this point in the history
promises are polyfilled by babel, it's no longer needed.
  • Loading branch information
silverwind authored and zeripath committed Jan 16, 2020
1 parent 18e0447 commit cc2916d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
3 changes: 2 additions & 1 deletion .ignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/vendor
/public/vendor
/public/vendor/plugins
/public/vendor/assets
/modules/options/bindata.go
/modules/public/bindata.go
/modules/templates/bindata.go
5 changes: 0 additions & 5 deletions public/vendor/librejs.html
Original file line number Diff line number Diff line change
Expand Up @@ -150,11 +150,6 @@
<td><a href="https://github.com/moment/moment/blob/develop/LICENSE">MIT</a></td>
<td><a href="https://github.com/moment/moment/archive/2.22.2.tar.gz">0.4.1.tar.gz</a></td>
</tr>
<tr>
<td><a href="./plugins/promise-polyfill/">promise-polyfill</a></td>
<td><a href="https://github.com/taylorhakes/promise-polyfill/blob/master/LICENSE">MIT</a></td>
<td><a href="https://github.com/taylorhakes/promise-polyfill/archive/8.1.0.tar.gz">8.1.0.tar.gz</a></td>
</tr>
</tbody>
</table>
</body>
Expand Down
1 change: 0 additions & 1 deletion public/vendor/plugins/promise-polyfill/polyfill.min.js

This file was deleted.

1 change: 0 additions & 1 deletion templates/base/head.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
{{end}}
<style class="list-search-style"></style>

<script src="{{StaticUrlPrefix}}/vendor/plugins/promise-polyfill/polyfill.min.js"></script>
<script src="{{StaticUrlPrefix}}/vendor/plugins/cssrelpreload/loadCSS.min.js"></script>
<script src="{{StaticUrlPrefix}}/vendor/plugins/cssrelpreload/cssrelpreload.min.js"></script>
{{if .PageIsUserProfile}}
Expand Down

0 comments on commit cc2916d

Please sign in to comment.