@samitouri / QOS-React-2 / commits / 03df215bd2

Default to layout: post for posts

Just a little less boilerplate. This also removes a bit of trailing whitespace because it shouldn't have been there.

Paul O’Shannessy committed Aug 13, 2014 at 11:26 UTC 03df215bd2a02b0e787a0ccdd877fa90d1378c2a
49 files changed +12 -54
docs/_config.yml
+6
@@ -9,6 +9,12 @@ relative_permalinks: true
9 paginate: 5
10 timezone: America/Los_Angeles
11 highlighter: pygments
12 +defaults:
13 +- scope:
14 + path: ''
15 + type: post
16 + values:
17 + layout: post
18 exclude:
19 - Gemfile
20 - Gemfile.lock
docs/_posts/2013-06-02-jsfiddle-integration.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: JSFiddle Integration
3 -layout: post
3 author: Christopher Chedeau
4 ---
5
docs/_posts/2013-06-05-why-react.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: Why did we build React?
3 -layout: post
3 author: Pete Hunt
4 ---
5
docs/_posts/2013-06-12-community-roundup.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #1"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-06-19-community-roundup-2.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #2"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-06-21-react-v0-3-3.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.3.3"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-06-27-community-roundup-3.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #3"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-07-02-react-v0-4-autobind-by-default.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "New in React v0.4: Autobind by Default"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-07-03-community-roundup-4.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #4"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-07-11-react-v0-4-prop-validation-and-default-values.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "New in React v0.4: Prop Validation and Default Values"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-07-17-react-v0-4-0.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.4.0"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-07-23-community-roundup-5.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #5"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-07-26-react-v0-4-1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.4.1"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-07-30-use-react-and-jsx-in-ruby-on-rails.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Use React and JSX in Ruby on Rails"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-08-05-community-roundup-6.md
+1 -2
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #6"
3 -layout: post
3 author: Vjeux
4 ---
5
@@ -58,7 +57,7 @@ este.demos.react.todoApp = este.react.create (`/** @lends {React.ReactComponent.
57 [Zaim Bakar](http://zaim.github.io/) shared his boilerplate to get started with Stylus CSS processor.
58
59 > This is my boilerplate React project using Grunt as the build tool, and Stylus as my CSS preprocessor.
61 ->
60 +>
61 > - Very minimal HTML boilerplate
62 > - Uses Stylus, with nib included
63 > - Uses two build targets:
docs/_posts/2013-08-19-use-react-and-jsx-in-python-applications.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Use React and JSX in Python Applications"
3 -layout: post
3 author: Kunal Mehta
4 ---
5
docs/_posts/2013-08-26-community-roundup-7.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #7"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-09-24-community-roundup-8.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #8"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-10-16-react-v0.5.0.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.5"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-10-29-react-v0-5-1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.5.1"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-10-3-community-roundup-9.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #9"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-11-05-thinking-in-react.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Thinking in React"
3 -layout: post
3 author: Pete Hunt
4 ---
5
docs/_posts/2013-11-06-community-roundup-10.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #10"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-11-18-community-roundup-11.md
+1 -2
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #11"
3 -layout: post
3 author: Vjeux
4 ---
5
@@ -89,4 +88,4 @@ This round-up is the proof that React has taken off from its Facebook's root: it
88 ## Random Tweet
89
90 <img src="/react/img/blog/steve_reverse.gif" style="float: right;" />
92 -<div style="width: 320px;"><blockquote class="twitter-tweet"><p>I think this reversed gif of Steve Urkel best describes my changing emotions towards the React Lib <a href="http://t.co/JoX0XqSXX3">http://t.co/JoX0XqSXX3</a></p>&mdash; Ryan Seddon (@ryanseddon) <a href="https://twitter.com/ryanseddon/statuses/398572848802852864">November 7, 2013</a></blockquote></div>
\ No newline at end of file
91 +<div style="width: 320px;"><blockquote class="twitter-tweet"><p>I think this reversed gif of Steve Urkel best describes my changing emotions towards the React Lib <a href="http://t.co/JoX0XqSXX3">http://t.co/JoX0XqSXX3</a></p>&mdash; Ryan Seddon (@ryanseddon) <a href="https://twitter.com/ryanseddon/statuses/398572848802852864">November 7, 2013</a></blockquote></div>
docs/_posts/2013-12-18-react-v0.5.2-v0.4.2.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.5.2, v0.4.2"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-12-19-react-v0.8.0.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React v0.8"
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2013-12-23-community-roundup-12.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #12"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2013-12-30-community-roundup-13.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #13"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2014-01-02-react-chrome-developer-tools.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "React Chrome Developer Tools"
3 -layout: post
3 author: Sebastian Markbåge
4 ---
5
docs/_posts/2014-01-06-community-roundup-14.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #14"
3 -layout: post
3 author: Vjeux
4 ---
5
docs/_posts/2014-02-05-community-roundup-15.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #15"
3 -layout: post
3 author: Jonas Gebhardt
4 ---
5
docs/_posts/2014-02-15-community-roundup-16.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #16"
3 -layout: post
3 author: Jonas Gebhardt
4 ---
5
docs/_posts/2014-02-16-react-v0.9-rc1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.9 RC
3 -layout: post
3 author: Ben Alpert
4 ---
5
docs/_posts/2014-02-20-react-v0.9.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.9
3 -layout: post
3 author: Ben Alpert
4 ---
5
docs/_posts/2014-02-24-community-roundup-17.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #17"
3 -layout: post
3 author: Jonas Gebhardt
4 ---
5
docs/_posts/2014-03-14-community-roundup-18.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #18"
3 -layout: post
3 author: Jonas Gebhardt
4 ---
5
docs/_posts/2014-03-19-react-v0.10-rc1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.10 RC
3 -layout: post
3 author: Paul O’Shannessy
4 ---
5
docs/_posts/2014-03-21-react-v0.10.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.10
3 -layout: post
3 author: Paul O’Shannessy
4 ---
5
docs/_posts/2014-03-28-the-road-to-1.0.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: The Road to 1.0
3 -layout: post
3 author: Paul O'Shannessy
4 ---
5
docs/_posts/2014-04-04-reactnet.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Use React and JSX in ASP.NET MVC"
3 -layout: post
3 author: Daniel Lo Nigro
4 ---
5
docs/_posts/2014-05-06-flux.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Flux: An Application Architecture for React"
3 -layout: post
3 author: Bill Fisher and Jing Chen
4 ---
5
docs/_posts/2014-05-29-one-year-of-open-source-react.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "One Year of Open-Source React"
3 -layout: post
3 author: Cheng Lou
4 ---
5
docs/_posts/2014-06-27-community-roundup-19.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #19"
3 -layout: post
3 author: Cheng Lou
4 ---
5
docs/_posts/2014-07-13-react-v0.11-rc1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.11 RC
3 -layout: post
3 author: Paul O’Shannessy
4 ---
5
docs/_posts/2014-07-17-react-v0.11.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.11
3 -layout: post
3 author: Paul O’Shannessy
4 ---
5
docs/_posts/2014-07-25-react-v0.11.1.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: React v0.11.1
3 -layout: post
3 author: Paul O’Shannessy
4 ---
5
docs/_posts/2014-07-28-community-roundup-20.md
+3 -4
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #20"
3 -layout: post
3 author: Lou Husson
4 ---
5
@@ -52,12 +51,12 @@ React.renderComponent(
51
52 ## Thinking and Learning React
53
55 -Josephine Hall, working at Icelab, used React to write a mobile-focused application. She wrote a blog post [“Thinking and Learning React.js”](http://icelab.com.au/articles/thinking-and-learning-reactjs/) to share her experience with elements they had to use. You'll learn about routing, event dispatch, touchable components, and basic animations.
54 +Josephine Hall, working at Icelab, used React to write a mobile-focused application. She wrote a blog post [“Thinking and Learning React.js”](http://icelab.com.au/articles/thinking-and-learning-reactjs/) to share her experience with elements they had to use. You'll learn about routing, event dispatch, touchable components, and basic animations.
55
56
57 ## London React Meetup
58
60 -If you missed the last [London React Meetup](http://www.meetup.com/London-React-User-Group/events/191406572/), the video is available, with lots of great content.
59 +If you missed the last [London React Meetup](http://www.meetup.com/London-React-User-Group/events/191406572/), the video is available, with lots of great content.
60
61 - What's new in React 0.11 and how to improve performance by guaranteeing immutability
62 - State handling in React with Morearty.JS
@@ -101,7 +100,7 @@ var Foo = React.createClass({
100 this.setState({scriptLoading: false, scriptLoadError: true});
101 },
102 render: function() {
104 - var message =
103 + var message =
104 this.state.scriptLoading ? 'Loading script...' :
105 this.state.scriptLoadError ? 'Loading failed' :
106 'Loading succeeded';
docs/_posts/2014-07-30-flux-actions-and-the-dispatcher.md
+1 -2
@@ -1,6 +1,5 @@
1 ---
2 title: "Flux: Actions and the Dispatcher"
3 -layout: post
3 author: Bill Fisher
4 ---
5
@@ -30,7 +29,7 @@ Letting the stores update themselves eliminates many entanglements typically fou
29 Why We Need a Dispatcher
30 ------------------------
31
33 -As an application grows, dependencies across different stores are a near certainty. Store A will inevitably need Store B to update itself first, so that Store A can know how to update itself. We need the dispatcher to be able to invoke the callback for Store B, and finish that callback, before moving forward with Store A. To declaratively assert this dependency, a store needs to be able to say to the dispatcher, "I need to wait for Store B to finish processing this action." The dispatcher provides this functionality through its waitFor() method.
32 +As an application grows, dependencies across different stores are a near certainty. Store A will inevitably need Store B to update itself first, so that Store A can know how to update itself. We need the dispatcher to be able to invoke the callback for Store B, and finish that callback, before moving forward with Store A. To declaratively assert this dependency, a store needs to be able to say to the dispatcher, "I need to wait for Store B to finish processing this action." The dispatcher provides this functionality through its waitFor() method.
33
34 The dispatch() method provides a simple, synchronous iteration through the callbacks, invoking each in turn. When waitFor() is encountered within one of the callbacks, execution of that callback stops and waitFor() provides us with a new iteration cycle over the dependencies. After the entire set of dependencies have been fulfilled, the original callback then continues to execute.
35
docs/_posts/2014-08-03-community-roundup-21.md
-1
@@ -1,6 +1,5 @@
1 ---
2 title: "Community Round-up #21"
3 -layout: post
3 author: Lou Husson
4 ---
5