瀏覽代碼

HUE-7820 [frontend] Add LocalForage library for managing indexedDB requests

Johan Ahlen 7 年之前
父節點
當前提交
57bf075

文件差異過大導致無法顯示
+ 6 - 0
desktop/core/src/desktop/static/desktop/ext/js/localforage.min.js


+ 1 - 0
desktop/core/src/desktop/templates/common_header.mako

@@ -211,6 +211,7 @@ if USE_NEW_EDITOR.get():
 
   ${ commonHeaderFooterComponents.header_pollers(user, is_s3_enabled, apps) }
 
+  <script src="${ static('desktop/ext/js/localforage.min.js') }"></script>
   <script src="${ static('desktop/js/dataCatalog.js') }"></script>
   <script src="${ static('desktop/js/apiHelper.js') }"></script>
   <script src="${ static('desktop/js/clusterConfig.js') }"></script>

+ 1 - 0
desktop/core/src/desktop/templates/hue.mako

@@ -532,6 +532,7 @@ ${ commonshare() | n,unicode }
 <script src="${ static('desktop/js/jquery.tableextender2.js') }"></script>
 % endif
 <script src="${ static('desktop/js/hue.colors.js') }"></script>
+<script src="${ static('desktop/ext/js/localforage.min.js') }"></script>
 <script src="${ static('desktop/js/dataCatalog.js') }"></script>
 <script src="${ static('desktop/js/apiHelper.js') }"></script>
 <script src="${ static('desktop/ext/js/knockout-sortable.min.js') }"></script>

+ 1 - 0
ext/thirdparty/README.md

@@ -158,3 +158,4 @@ Checked-in frontend third party dependencies
 |tzdetect.js|?|MIT|https://github.com/Canop/tzdetect.js|
 |wysihtml5|0.3.0|MIT|https://github.com/xing/wysihtml5|
 |Select2|3.5.1|MIT|https://github.com/select2/select2|
+|LocalForage|1.5.4|Apache|https://github.com/localForage/localForage|

部分文件因文件數量過多而無法顯示