Skip to content

Instantly share code, notes, and snippets.

View moduscreate's full-sized avatar

Modus Create moduscreate

View GitHub Profile
/**
* Copyright (c) 2015-present, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*/
#import "AppDelegate.h"
/**
* Sample React Native App
* https://github.com/facebook/react-native
*/
'use strict';
var React = require('react-native');
var {
AppRegistry,
StyleSheet,
/**
* Copyright 2004-present Facebook. All Rights Reserved.
*
* @providesModule DemoApp
* @flow
*/
'use strict';
var React = require('react-native'),
styles = require('./Styles'),
2015-02-13 14:46:06.301 UIExplorer[31873:1948280] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'JS has only made partial progress to catch up to UIKit'
*** First throw call stack:
(
0 CoreFoundation 0x0000000107739f35 __exceptionPreprocess + 165
1 libobjc.A.dylib 0x00000001073d2bb7 objc_exception_throw + 45
2 CoreFoundation 0x0000000107739d9a +[NSException raise:format:arguments:] + 106
3 Foundation 0x0000000106fef5df -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 195
4 UIExplorer 0x0000000106e02a65 -[RCTNavigator reactBridgeDidFinishTransaction] + 1013
5 UIExplorer 0x0000000106e16c40 __51-[RCTUIManager uiBlockWithLayoutUpdateForRootView:]_block_invoke150 + 96
6 UIExplorer 0x0000000106e143b6 RCTTraverseViewNodes + 198
/*
* File: main.c
* Author: jgarcia
*
* Created on February 3, 2015, 7:04 AM
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
/*
* File: main.c
* Author: jgarcia
*
* Created on February 3, 2015, 7:04 AM
*/
#include <pthread.h>
#include <stdio.h>
#include <stdlib.h>
/*
* File: main.c
* Author: jgarcia
*
* Created on February 3, 2015, 7:04 AM
*/
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Ext.define('d3xtjs.CollapsibleTree', {
extend : 'Ext.Panel',
alias : 'widget.d3xtjs_collapsibletree',
// Used for targeting the element to inject the SVG element into.
// 'body' for Panel
// 'el' for Component
vr w = 960, h = 500;
var labelDistance = 0;
var vis = d3.select("body").append("svg:svg").attr("width", w).attr("height", h);
var nodes = [];
var labelAnchors = [];
var labelAnchorLinks = [];
{
"name": "TestApp",
"indexHtmlPath": "index.html",
"url": null,