This file contains 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 {Component, Input, DynamicComponentLoader, ElementRef, ViewContainerRef, Output, EventEmitter} from '@angular/core' | |
import {Config} from '../config'; | |
@Component({ | |
selector: 'wordpress-content', | |
template: '<div #container></div>', | |
}) | |
export class WordpressContent { |
This file contains 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)application { | |
Developer *you = [Developer new]; | |
Job *orlyapps = [Job new]; | |
orlyapps.location = CLLocationCoordinate2DMake(53.14284, 8.22256); | |
orlyapps.requirements = [NSArray arrayWithObjects: | |
@"PHP", @"Java", @"Objective-C", @"C++", @"C#", nil]; | |
orlyapps.benefits = [NSArray arrayWithObjects: | |
@"Flexible Arbeitszeiten", @"Freies Arbeiten", | |
@"Spannende Projekte", @"Club-Mate", @"Kreativpausen", |
This file contains 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
/** | |
* Expose javascript methods | |
*/ | |
@implementation Moveable | |
- (SEL)selectorForJavascriptMethod:(NSString *)methodName { | |
if([methodName isEqualToString:@"drink"]) { | |
return @selector(drink); | |
} else if([methodName isEqualToString:@"jump"]) { | |
return @selector(jump); |
This file contains 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
// | |
// JSContext.h | |
// CommanderCool | |
// | |
// Created by Florian Strauß on 13.11.11. | |
// Copyright (c) 2011 Corporation. All rights reserved. | |
// | |
#import <JavaScriptCore/JavaScriptCore.h> | |
#import <objc/runtime.h> |