Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Run swiftformat
  • Loading branch information
j-f1 committed Aug 4, 2020
commit 2465f84e559ef1a75b240c34b322797e90e888fc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ serialization.testSuite("Swift String to JavaScript") {
}
}


let objectHeap = Benchmark("Object heap")

let global = JSObjectRef.global
Expand Down
2 changes: 1 addition & 1 deletion Sources/JavaScriptKit/JSFunction.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class JSFunctionRef: JSObjectRef {
}

public func new(_ args: JSValueConvertible...) -> JSObjectRef {
self.new(args: args)
new(args: args)
}

// Guaranteed to return an object because either:
Expand Down
2 changes: 1 addition & 1 deletion Sources/JavaScriptKit/XcodeSupport.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ import _CJavaScriptKit
) { fatalError() }
func _instanceof(
_: JavaScriptObjectRef,
_: JavaScriptObjectRef
_: JavaScriptObjectRef
) -> Bool { fatalError() }
func _create_function(
_: JavaScriptHostFuncRef,
Expand Down