win - cmd.exe | mac - Terminal.app
*Install latest versions for all
((items) => { | |
const libs = [ | |
"https://cdnjs.cloudflare.com/ajax/libs/lodash.js/3.10.1/lodash.min.js", | |
].map((src) => { | |
return new Promise(resolve => { | |
const script = document.createElement("script"); | |
script.src = src; | |
script.async = false; | |
script.onload = () => { | |
resolve(); |
(() => { | |
const libs = [ | |
"https://cdnjs.cloudflare.com/ajax/libs/superagent/1.2.0/superagent.min.js", | |
"https://cdnjs.cloudflare.com/ajax/libs/ramda/0.18.0/ramda.min.js" | |
].map((src) => { | |
return new Promise(resolve => { | |
const script = document.createElement("script"); | |
script.src = src; | |
script.async = false; | |
script.onload = () => { |
/** @jsx React.DOM */ | |
React.createClass({ | |
render:function(){ | |
return ( | |
<div> | |
<a href="#"></a> | |
// React.DOM.a( {href:"#"}) | |
</div> | |
) | |
} |
win - cmd.exe | mac - Terminal.app
*Install latest versions for all
win - cmd.exe | mac - Terminal.app
*Install latest versions for all
NodeJs - accept installer defaults
(3m) - head count (math to determine cake size) | |
(3m) - estimate on who will have seconds (math to determine cake size) | |
(30m) - finalize frosting based copy | |
(3m) - flavor (identify cake attributes) | |
(3m) - frosting (identify cake attributes) | |
(3m) - filling (identify cake attributes) | |
(3m) - plates (identify cake utensils) | |
(3m) - forks (identify cake utensils) | |
(3m) - napkins (identify cake utensils) | |
(1m) - knife for slicing (identify cake utensils) |
// shim layer with setTimeout fallback | |
window.requestAnimFrame = (function(){ | |
return window.requestAnimationFrame || | |
window.webkitRequestAnimationFrame || | |
window.mozRequestAnimationFrame || | |
function( callback ){ | |
window.setTimeout(callback, 1000 / 60); | |
}; | |
})(); |
**jQuery** - We can eliminate jQuery on the UHP, but it would require reworking several other behaviors on the page, the big one being the StartEndDate selector. | |
**StartEndDateSelector** - Devices provide their own standard UI for date selection with full support for localization. Overriding this free UI for everybody is no small task and seems extraneous. We should try to support native date selection with an adaptive polyfill for those that need it. To be considered: | |
* The RFC 3339/ISO 8601 "wire format": YYYY-MM-DD. According to the HTML5 specification, this is the format that must be used for the input's value upon form submission or when requested via the DOM API. It is locale and region independent. | |
**System libs** - There are some we can potentially optimize for mobile | |
* OpinionLab | |
* Omniture | |
* ... |
#!/usr/bin/env node | |
var sys = require('sys'), | |
url = require('url'), | |
http = require('http'), | |
port = 9000, | |
acceptor = http.createServer().listen(port), | |
host = process.argv[2] || 'localhost'; | |
acceptor.on('request', function(request, response) { |
var sys = require('sys'), | |
http = require('http'), | |
url = require('url'); | |
function notFound(res) { | |
res.writeHead(404, "text/plain"); | |
res.end("404: File not found"); | |
} | |
http.createServer(function(b_req, b_res){ |