Github | Bitbucket | Gitlab | |
---|---|---|---|
Jenkins | [x] | [x] | [x] |
Travis | [x] | ||
Bitbucket CI | [x] | ||
Gitlab CI | [x] | ||
Bitbucket Pipelines | [x] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpClient } from '@angular/common/http'; | |
import { Injectable } from '@angular/core'; | |
import { Observable } from 'rxjs/Observable'; | |
@Injectable() | |
export class TestService { | |
private testUrl = '/some/test/url'; | |
constructor(private http: HttpClient) { } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@interface ViewController () | |
@property (nonatomic) GMSMapView *mapView; | |
@end | |
@implementation ViewController | |
#pragma mark - UIViewController | |
- (void)viewDidLoad { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void) get:(NSString *)rest withParams:(NSDictionary*)params | |
completion:(void (^)(id))completionBlock | |
{ | |
NSString *curUrl = [self.constant.url stringByAppendingString:rest]; | |
AFHTTPRequestOperationManager *manager = [AFHTTPRequestOperationManager manager]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.addEventListener("pause", App.pauseEvent, false); | |
pauseEvent: function(){ | |
navigator.geolocation.watchPosition( | |
function(pos){ | |
App.latlngs.push(new L.LatLng(pos.coords.latitude, pos.coords.longitude)); | |
}, | |
function(err){ | |
alert('Error:' + err); | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi, | |
I'm trying to send a mongodb schema from client to the server. I put the server (server.js) and client (client.js) codes above. When I press the button on the client side, I log the incoming data into the console. | |
In the console output what I have is: | |
{ | |
field1: `container field`, | |
subSchema: [] | |
} |