feat:change makeRef to createRef

This commit is contained in:
pengfei.zhou
2021-09-03 16:48:24 +08:00
committed by osborn
parent c2b07e4a20
commit 4b66be7bc1
11 changed files with 20 additions and 23 deletions

View File

@@ -1730,7 +1730,7 @@ class Ref {
return this.view;
}
}
function makeRef() {
function createRef() {
return new Ref;
}
class View {
@@ -4769,6 +4769,7 @@ exports.ViewHolder = ViewHolder;
exports.ViewModel = ViewModel;
exports.animate = animate;
exports.coordinator = coordinator;
exports.createRef = createRef;
exports.draggable = draggable;
exports.flexlayout = flexlayout;
exports.flowItem = flowItem;
@@ -4785,7 +4786,6 @@ exports.listItem = listItem;
exports.log = log;
exports.loge = loge;
exports.logw = logw;
exports.makeRef = makeRef;
exports.modal = modal;
exports.navbar = navbar;
exports.navigator = navigator;