To create a ReactComponent
:
ReactComponent React.createClass(object proto)
Basic JSX example:
var TitleComponent = React.createClass({
// REQUIRED
18:16:14: Running steps for project UE4... | |
18:16:14: Starting: "/usr/bin/make" MyProject3Editor-Linux-DebugGame | |
Using clang version '3.5.1' (string), 3 (major), 5 (minor), 1 (patch) | |
Errors detected while compiling /home/danr/Games/UnrealEngine/Engine/Intermediate/Build/BuildRules/-project=_EditorRecompileModuleRules.dll: | |
(0,0) : error : Unhandled Exception: | |
(0,0) : error : System.IO.FileLoadException: I/O Error | |
(0,0) : error : at IKVM.Reflection.AssemblyName..ctor (System.String assemblyName) [0x00000] in <filename unknown>:0 | |
(0,0) : error : at Mono.CSharp.AssemblyDefinition.CreateAssemblyName () [0x00000] in <filename unknown>:0 | |
(0,0) : error : at Mono.CSharp.AssemblyDefinitionStatic.Create (IKVM.Reflection.Universe domain) [0x00000] in <filename unknown>:0 | |
(0,0) : error : at Mono.CSharp.Driver.Compile () [0x00000] in <filename unknown>:0 |
layout: post title: "Driving Multiple Monitors on an Optimus Laptop" modified: categories: articles excerpt: tags: [linux, optimus, prime, xrandr, vgaswitcheroo] image: feature: date: 2014-11-03T21:38:00-00:00
# Compiled Object files | |
*.slo | |
*.lo | |
*.o | |
*.obj | |
# Precompiled Headers | |
*.gch | |
*.pch |
mkdir empty_dir | |
robocopy empty_dir the_dir_to_delete /s /mir | |
rmdir empty_dir | |
rmdir the_dir_to_delete |
jQuery.each(R.player.queue._collection.models, function(index, track) { | |
R.enhancer.current_playlist.model.add(track.get('source')); | |
}); |
R.logger.log = R.logger._log = R.logger.error = R.logger.warn = R.logger.verbosity = function() {} |
class Boundary { | |
private final Point[] points; // Points making up the boundary | |
... | |
/** | |
* Return true if the given point is contained inside the boundary. | |
* See: http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html | |
* @param test The point to check | |
* @return true if the point is inside the boundary, false otherwise |
javascript:(function (d) { | |
function guid() { | |
function s4() { | |
return Math.floor((1 + Math.random()) * 0x10000) | |
.toString(16) | |
.substring(1); | |
} | |
return s4() + s4() + '-' + s4() + '-' + s4() + '-' + s4() + '-' + s4() + s4() + s4(); | |
} |