MCPcopy Create free account
hub / github.com/chavyleung/scripts / getVersions

Function getVersions

box/chavy.boxjs.js:627–638  ·  view source on GitHub ↗

* 获取版本清单

()

Source from the content-addressed store, hash-verified

625 * 获取版本清单
626 */
627function getVersions() {
628 return $.http.get($.ver).then(
629 (resp) => {
630 try {
631 $.json = $.toObj(resp.body)
632 } catch {
633 $.json = {}
634 }
635 },
636 () => ($.json = {})
637 )
638}
639
640/**
641 * 获取应用会话

Callers 1

handleQueryFunction · 0.70

Calls 2

getMethod · 0.45
toObjMethod · 0.45

Tested by

no test coverage detected