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

@@ -152,7 +152,7 @@ class Ref {
return this.view;
}
}
function makeRef() {
function createRef() {
return new Ref;
}
class View {
@@ -3191,6 +3191,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;
@@ -3207,7 +3208,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;