File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- github "mxcl/PromiseKit" ~> 5 .0
1+ github "mxcl/PromiseKit" ~> 6 .0
Original file line number Diff line number Diff line change 1- github "mxcl/PromiseKit" "5 .0.3 "
1+ github "mxcl/PromiseKit" "6 .0.0 "
Original file line number Diff line number Diff line change @@ -16,11 +16,11 @@ import PromiseKit
1616extension MKDirections {
1717 /// Begins calculating the requested route information asynchronously.
1818 public func calculate( ) -> Promise < MKDirectionsResponse > {
19- return Promise ( . pending ) { calculate ( completionHandler: $0. resolve) }
19+ return Promise { calculate ( completionHandler: $0. resolve) }
2020 }
2121
2222 /// Begins calculating the requested travel-time information asynchronously.
2323 public func calculateETA( ) -> Promise < MKETAResponse > {
24- return Promise ( . pending ) { calculateETA ( completionHandler: $0. resolve) }
24+ return Promise { calculateETA ( completionHandler: $0. resolve) }
2525 }
2626}
Original file line number Diff line number Diff line change @@ -16,6 +16,6 @@ import PromiseKit
1616extension MKMapSnapshotter {
1717 /// Starts generating the snapshot using the options set in this object.
1818 public func start( ) -> Promise < MKMapSnapshot > {
19- return Promise ( . pending ) { start ( completionHandler: $0. resolve) }
19+ return Promise { start ( completionHandler: $0. resolve) }
2020 }
2121}
You can’t perform that action at this time.
0 commit comments