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 React, { Component } from "react"; | |
import { Text } from "react-native"; | |
import { Provider, connect } from "react-redux"; | |
import { StackNavigator, addNavigationHelpers } from "react-navigation"; | |
import Routes from "./config/routes"; | |
import getStore from "./store"; | |
const AppNavigator = StackNavigator(Routes); |
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 React, { Component } from "react"; | |
import { AppRegistry, View, Text, Button } from "react-native"; | |
import { StackNavigator } from "react-navigation"; | |
const LoginScreen = props => ( | |
<View> | |
<Button | |
title="Log In" | |
onPress={() => { |
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 React, { Component } from 'react'; | |
import { | |
View, | |
Text, | |
TouchableOpacity | |
} from 'react-native'; | |
class MyComponent extends Component { | |
componentWillMount() { |
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
#pragma strict | |
// Objects to drag in | |
public var motor : MovementMotor; | |
public var character : Transform; | |
public var cursorPrefab : GameObject; | |
public var joystickPrefab : GameObject; | |
// Settings | |
public var cameraSmoothing : float = 0.01; |
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
using UnityEngine; | |
using System.Collections; | |
public class PlayerControl : MonoBehaviour | |
{ | |
[HideInInspector] | |
public bool facingRight = true; // For determining which way the player is currently facing. | |
[HideInInspector] | |
public bool jump = false; // Condition for whether the player should 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
{ | |
tracks:{ | |
house:[ | |
{ | |
title:"Swimming Pools (Jesse Rose Re-Fix)", | |
artist:[ | |
"Kendrick Lamar" | |
], | |
albumartist:[ |
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
var tpl = new Ext.XTemplate( | |
'<p>Name: {name}</p>', | |
'<p>Kids: ', | |
'<tpl for="kids">', | |
'<tpl if="this.isGirl(name)">', | |
'<p>Girl: {name} - {age}</p>', | |
'<tpl else>', | |
'<p>Boy: {name} - {age}</p>', | |
'</tpl>', | |
'<tpl if="this.isBaby(age)">', |
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
/** | |
* @class McAfee.view.main.Viewport | |
* @extends Ext.container.Container | |
* @author Crysfel Villa <crysfel@moduscreate.com> | |
* | |
* Description | |
*/ | |
Ext.define('McAfee.view.main.Viewport',{ | |
extend : 'Ext.container.Container', |
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
<div class="accordion"> | |
<div class="section"> | |
<div class="header">Header1</div> | |
<div class="inner">lorem ipsum...</div> | |
</div> | |
<div class="section"> | |
<div class="header">Header2</div> | |
<div class="inner">lorem ipsum 2...</div> | |
</div> | |
</div> |
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
Ext.define('Workout.controller.Main', { | |
extend : 'Ext.app.Controller', | |
config : { | |
models: [ | |
'Workout' | |
], | |
stores: [ | |
'Workouts' | |
], | |
views: [ |
NewerOlder