Skip to content

Commit

Permalink
* [android] fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zshshr committed Aug 17, 2016
1 parent c119b14 commit 42a2099
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public class SimpleComponentHolder implements IFComponentHolder{
public static final String TAG = "SimpleComponentHolder";
private final Class<? extends WXComponent> mClz;
private Map<String, Invoker> mMethods;
private ComponentCreator mCeator;
private ComponentCreator mCreator;

static class ClazzComponentCreator implements ComponentCreator{

Expand Down Expand Up @@ -272,7 +272,7 @@ public SimpleComponentHolder(Class<? extends WXComponent> clz) {

public SimpleComponentHolder(Class<? extends WXComponent> clz,ComponentCreator customCreator) {
this.mClz = clz;
this.mCeator = customCreator;
this.mCreator = customCreator;
}

@Override
Expand Down Expand Up @@ -325,7 +325,7 @@ private synchronized void generate(){

@Override
public synchronized WXComponent createInstance(WXSDKInstance instance, WXDomObject node, WXVContainer parent, boolean lazy) throws IllegalAccessException, InvocationTargetException, InstantiationException {
WXComponent component = mCeator.createInstance(instance,node,parent,lazy);
WXComponent component = mCreator.createInstance(instance,node,parent,lazy);

component.bindHolder(this);
return component;
Expand Down

0 comments on commit 42a2099

Please sign in to comment.