This is a working document
To outline what a feature is, how a feature grows from Idea, Conception, Birth and through to Adulthood (Iteration).
var util = require('util'), | |
_ = require('underscore'), | |
EventEmitter = require('events').EventEmitter | |
function Store(ctx, initial) { | |
this.state = initial || {}; | |
EventEmitter.call(this); | |
this.initialize.apply(this, arguments); | |
} |
.flexIt(@type:flex) { | |
display: ~"-webkit-@{type}"; | |
display: @type; | |
} | |
.flexDirection(@direction:row) { |
@pacreate | |
Feature: PA Create Latest Images Page - Latest Images Page | |
Scenario: Verify Latest Images page has infinite scroll | |
Given I navigate to the images tab at url "/create/images" | |
And the images view displays 30 images | |
And I scroll down | |
And the images view displays 44 images | |
Scenario: Verify images are displayed correctly |
// this allows to send arbitrary messages. The chat conversation you want to send messages to has to be open. | |
// just run this in the JS console | |
// http://stackoverflow.com/a/39165137/1249001 | |
function findChatComponent(dom) { | |
var result = null | |
for (var key in dom) { | |
if (key.startsWith("__reactInternalInstance$")) { | |
try { | |
result = dom[key].child.child.memoizedProps.children._owner.stateNode.props.chat |
var INPUT_TYPES = 'color|date|datetime|datetime-local|file|month|number|password|range|search|tel|text|time|url|week'.split('|') | |
var App = React.createClass({ | |
getInitialState: function() { | |
return {} | |
}, | |
onChange: handleFormInputChange, | |
render: function() { |
Hi Zach :D
Modals are funny beasts, usually they are a design cop-out, but that's okay, designers have to make trade-offs too, give 'em a break.
First things first, I'm not sure there is such thing as a "simple" modal that is production ready. Certainly there have been times in my career I tossed out other people's "overly complex solutions" because I simply didn't understand the scope of the problem, and I have always loved it when people who have a branch of experience that I don't take the time
You have an array. Its sort order doesn't matter. You want to remove an item from this array.
The obvious thing to do would be to use splice
:
function remove(array, item) {
const index = array.indexOf(item);
array.splice(index, 1);
}
This is a tiny content strategy framework focused on goals, messages, and branding. This is not a checklist. Use what you need and scrap the rest. Rewrite it or add to it. These topics should help you get to the bottom of things with clients and other people you work with.
Give me feedback on Twitter (@nicoleslaw) or by email (nicole@nicolefenton.com).