It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
##List of countries
I've also compiled a list of countries
/** | |
* @author Phil Teare | |
* using wikipedia data | |
*/ | |
isoLangs = { | |
"ab":{ | |
"name":"Abkhaz", | |
"nativeName":"аҧсуа" | |
}, | |
"aa":{ |
var MDN_Languages_AlphabetOrder = { | |
"ar" : "عربي", | |
"ca" : "català", | |
"cs" : "Čeština", | |
"de" : "Deutsch", | |
"el" : "Ελληνικά", | |
"en-us" : "English (US)", | |
"es" : "Español", | |
"fa" : "فارسی", | |
"fi" : "suomi", |
It's time someone compiled a list of nationalities to use within a web application. This gist attempts to make a first move at that.
##List of countries
I've also compiled a list of countries
#List of countries
It's time someone compiled a list of countries to use within a web application. This gist attempts to make a first move at that.
I've also compiled a list of nationalities
Custom recipe to get OS X 10.11 El Capitan running from scratch with useful applications and Node.js Developer environment. I use this gist to keep track of the important software and steps required to have a functioning system after fresh install.
// components/App-test.jsx | |
import "../utils/test/dom"; | |
import assert from 'assert'; | |
import React from 'react/addons'; | |
import App from '../App'; | |
const TestUtils = React.addons.TestUtils; |
import React from 'react/addons'; | |
const TestUtils = React.addons.TestUtils; | |
export default createComponent; | |
function createComponent(component, props, ...children) { | |
const shallowRenderer = TestUtils.createRenderer(); | |
shallowRenderer.render(React.createElement(component, props, children.length > 1 ? children : children[0])); | |
return shallowRenderer.getRenderOutput(); | |
} |
// require() some stuff from npm (like you were using browserify) | |
// and then hit Run Code to run it on the right | |
var patchHTML = require('html2idom').patchHTML; | |
function cond( cond, resTrue, resFalse ) { | |
if(cond){ | |
return resTrue; | |
} else { | |
return resFalse; |
// it could be part of the LoopBackSDK module | |
// evaluate usage of node http module for ajax call | |
var http = require( 'http' ); | |
// LoopBack HTTP Interface | |
// Class that has the responsibility to call | |
// the LoopBack Application, must be instantiated for each models | |
function HTTPInterface( |
// Cross browser, backward compatible solution | |
(function( window, Date ) { | |
// feature testing | |
var raf = window.mozRequestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.msRequestAnimationFrame || | |
window.oRequestAnimationFrame; | |
window.animLoop = function( render, element ) { | |
var running, lastFrame = +new Date; |