Skip to content

Instantly share code, notes, and snippets.

View jaygarcia's full-sized avatar
😁

Jay Garcia jaygarcia

😁
  • Washington DC
View GitHub Profile
Loading the Ext JS 4 SDK Project
Loaded 5 Packages
Loaded 15 Builds
Creating the "Foundation" target as "pkgs/foundation.js"
- 13 file(s) included in this target.
+ ../../platform/core/src/Ext.js
+ ../../platform/core/src/version/Version.js
+ ../../platform/core/src/lang/String.js
Ext.define('MyApp.MainContainer', {
extend : 'Ext.Container',
requires : [
'MyApp.PersonList',
'MyApp.PersonDetail'
],
config : {
layout : {
type : 'hbox',
align : 'stretch'
Step 1:
Open your browser and visit: https://developer.apple.com/wwdc/videos/
Step 2:
Paste the following in your debugger:
items = document.querySelectorAll('.session')
hrefs = document.querySelectorAll('.download')
for (var i = 0; i < items.length; i++) {
// possible options: cli_variables, www_dir, is_top_level
// Returns a promise.
var runInstall = module.exports.runInstall = function runInstall(actions, platform, project_dir, plugin_dir, plugins_dir, options) {
var xml_path = path.join(plugin_dir, 'plugin.xml')
, plugin_et = xml_helpers.parseElementtreeSync(xml_path)
, filtered_variables = {};
var name = plugin_et.findall('name').text;
var plugin_id = plugin_et.getroot().attrib['id'];
require('../plugman').emit('log', 'Starting installation of "' + plugin_id + '" for ' + platform);
/** *
* @providesModule DemoApp
* @flow
*/
'use strict';
var React = require('react-native'),
styles = require('./Styles'),
TapDemoItem = require('./TapDemoItem/TapDemoItem');
/**
* @providesModule TapDemoItem
* @flow
*/
'use strict';
var React = require('react-native'),
styles = require('./TapDemoStyles');
var {
var React = require('react-native');
var {
Image,
ListView,
TouchableHighlight,
StyleSheet,
Text,
View,
} = React;
'use strict';
var React = require('react-native');
var {
Image,
ScrollView,
StyleSheet,
Text,
@jaygarcia
jaygarcia / gist:fea5905ee361864aa5d9
Last active August 29, 2015 14:22
AbstractPlayer
var React = require('react-native');
var {
Image,
ScrollView,
StyleSheet,
Text,
View,
<HTML>
<head>
<script type="text/javascript">
var x = 3;
</script>
</head>
<body>
<script type="text/javascript">
alert('x is ' + x);