File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,12 +97,12 @@ public class WKJavaScriptController: NSObject {
9797 if methodList != nil , var list = Optional ( methodList) {
9898 let limit = argumentLengthLimit
9999 while list. memory. name != nil {
100- var bridge = MethodBridge ( nativeSelector: list. memory. name)
100+ let bridge = MethodBridge ( nativeSelector: list. memory. name)
101101 if bridge. numberOfArguments > limit {
102102 NSLog ( " [WKJavaScriptController:Warning] The length of argument was longer than \( limit) , so it was excluded. (selector: \( bridge. nativeSelector) ) " )
103103 } else {
104104 // Using ObjC style naming if have a method with the same name.
105- var list = bridgeList. filter ( { $0. jsSelector == bridge. jsSelector } )
105+ let list = bridgeList. filter ( { $0. jsSelector == bridge. jsSelector } )
106106 if !list. isEmpty {
107107 bridge. extendJsSelector = true
108108 }
You can’t perform that action at this time.
0 commit comments