Repository: incubator-weex-site
Updated Branches:
  refs/heads/master ad36ef40d -> de5618356


Changed 'mehtod' to 'method' in 2 places


Branch: refs/heads/master
Commit: de5618356337fdad77f5c17f39eedf2a067c7dc9
Parents: ad36ef4
Author: Alexander <>
Authored: Tue Mar 13 23:14:06 2018 -0400
Committer: GitHub <>
Committed: Tue Mar 13 23:14:06 2018 -0400

 source/guide/ | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/guide/ b/source/guide/
index c23f218..49ce76d 100644
--- a/source/guide/
+++ b/source/guide/
@@ -12,7 +12,7 @@ version: 2.1
 1. Customize modules class must extend from WXModule. 
 2. Extended method must add @JSMethod (uiThread = false or true) annotation, 
which determines whether the method is run on UI thread.
-3. The access level of mehtod must be `public`.
+3. The access level of method must be `public`.
 4. Do not obfuscate code using tools like ProGuard.
 5. Extended method suppport the data type of int, double, float, String, Map, 
List as its param.
 7. Register the module: `WXSDKEngine.registerModule("MyModule", 
MyModule.class);`or else may report an error: `ReportException :undefined:9: 
TypeError: Object #<Object> has no method 'xxx'` .
@@ -85,7 +85,7 @@ event.openURL("",function(resp){ 
 1. Customize components must extend from WXComponent
 2. Use the `@WXComponentProp(name = value(value is attr or style))` annotation 
to let the update of attribute or style be recognized automatically.
-3. The access levels of mehtod must be **public**
+3. The access levels of method must be **public**
 4. Customize can not be obfuscated by tools like ProGuard
 5. Component method with the annotation of `@JSMethod` can 
 7. Weex params can be int, double, float, String, Map, List, Array

Reply via email to