File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,8 @@ extension JSArray: RandomAccessCollection {
36
36
}
37
37
38
38
public class Iterator : IteratorProtocol {
39
- let jsObject : JSObject
40
- var index = 0
39
+ private let jsObject : JSObject
40
+ private var index = 0
41
41
init ( jsObject: JSObject ) {
42
42
self . jsObject = jsObject
43
43
}
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ public protocol JSBridgedClass: JSBridgedType {
24
24
static var constructor : JSFunction { get }
25
25
26
26
/// The JavaScript object wrapped by this instance.
27
- /// You may assume that `jsObject instanceof Self.constructor`
27
+ /// You may assume that `jsObject instanceof Self.constructor == true `
28
28
var jsObject : JSObject { get }
29
29
30
30
/// Create an instannce wrapping the given JavaScript object.
Original file line number Diff line number Diff line change @@ -266,6 +266,6 @@ extension Array where Element == JSValueConvertible {
266
266
267
267
extension Array where Element: JSValueConvertible {
268
268
func withRawJSValues< T> ( _ body: ( [ RawJSValue ] ) -> T ) -> T {
269
- Array < JSValueConvertible > . withRawJSValues ( self ) ( body)
269
+ [ JSValueConvertible ] . withRawJSValues ( self ) ( body)
270
270
}
271
271
}
You can’t perform that action at this time.
0 commit comments