Skip to content

Commit cc2916d

Browse files
silverwindzeripath
authored andcommittedJan 16, 2020
remove promise-polyfill (#9812)
promises are polyfilled by babel, it's no longer needed.
1 parent 18e0447 commit cc2916d

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed
 

‎.ignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/vendor
2-
/public/vendor
2+
/public/vendor/plugins
3+
/public/vendor/assets
34
/modules/options/bindata.go
45
/modules/public/bindata.go
56
/modules/templates/bindata.go

‎public/vendor/librejs.html

-5
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,6 @@
150150
<td><a href="https://github.com/moment/moment/blob/develop/LICENSE">MIT</a></td>
151151
<td><a href="https://github.com/moment/moment/archive/2.22.2.tar.gz">0.4.1.tar.gz</a></td>
152152
</tr>
153-
<tr>
154-
<td><a href="./plugins/promise-polyfill/">promise-polyfill</a></td>
155-
<td><a href="https://github.com/taylorhakes/promise-polyfill/blob/master/LICENSE">MIT</a></td>
156-
<td><a href="https://github.com/taylorhakes/promise-polyfill/archive/8.1.0.tar.gz">8.1.0.tar.gz</a></td>
157-
</tr>
158153
</tbody>
159154
</table>
160155
</body>

‎public/vendor/plugins/promise-polyfill/polyfill.min.js

-1
This file was deleted.

‎templates/base/head.tmpl

-1
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,6 @@
126126
{{end}}
127127
<style class="list-search-style"></style>
128128

129-
<script src="{{StaticUrlPrefix}}/vendor/plugins/promise-polyfill/polyfill.min.js"></script>
130129
<script src="{{StaticUrlPrefix}}/vendor/plugins/cssrelpreload/loadCSS.min.js"></script>
131130
<script src="{{StaticUrlPrefix}}/vendor/plugins/cssrelpreload/cssrelpreload.min.js"></script>
132131
{{if .PageIsUserProfile}}

0 commit comments

Comments
 (0)
Please sign in to comment.