I hereby claim:
- I am christospappas on github.
- I am christospappas (https://keybase.io/christospappas) on keybase.
- I have a public key ASALTLKGIVhJIOOlSp22UY77c_JnX3ImD09KisW2KGlZxAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
/* | |
Here's an example of using diffStyles with React to manage Mapbox. | |
Use this along with Redux to manage state changes. Nice and simple! | |
*/ | |
import React, { Component } from 'react'; | |
import config from 'config'; | |
import mapboxgl from 'mapbox-gl'; | |
import diffStyles from 'mapbox-gl-style-spec/lib/diff'; |
class ServiceUndefinedError < StandardError | |
def initialize(klass) | |
super("You must define a #{klass.class.name}#call method") | |
end | |
end | |
class ServiceCallInvalidError < StandardError | |
attr_reader :object | |
def initialize(object) |
var GameOfLife = (function(window, undefined) { | |
'use strict'; | |
var Game = function(width, height, initPattern) { | |
this.grid = new Grid(width, height, initPattern); | |
this.stopped = false; | |
this.run(); | |
}; |
var Minesweeper = (function() { | |
var Game = function(rows, cols, bombCount) { | |
var board = new Board(rows, cols, bombCount); | |
var gameOver = function() { | |
console.log("Game Over!"); | |
} | |
return { |
var Nucleus = {}; | |
Nucleus.components = {}; | |
Nucleus.Component = (function() { | |
var _elementPrototype; | |
var _reservedPropertiesRegex = /created|attached|detached|attributeChanged|extends|template/; | |
function element(tagName, definition) { |
### Keybase proof | |
I hereby claim: | |
* I am christospappas on github. | |
* I am christospappas (https://keybase.io/christospappas) on keybase. | |
* I have a public key whose fingerprint is AB6A 42CF 108A 1D6D 3D2E D6F4 C675 93C5 9111 012A | |
To claim this, I am signing this object: |