Skip to content

Commit 55facfd

Browse files
committed
Fixing code fences
1 parent a32571c commit 55facfd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

posts/jsfmt.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Analyze What?
1313

1414
The Rdio app uses a component architecture where a component is a collection of HTML, CSS and JavaScript that form a complete set of functionality. Buttons, forms, and views are all components as well as the overall Rdio app itself which in turn depends on a number of other components. We explicitly declare these dependencies in each component declaration so we know which subsequent components to load at runtime:
1515

16-
```lang=js
16+
```
1717
R.Components.create('MyComponent', {
1818
dependencies: ['MyOtherComponent']
1919
});
@@ -44,7 +44,7 @@ I've spent the last year thinking about the problem and a more elegant solution
4444

4545
The first thing we want to do is take a plain JavaScript string that represents what we want to search for and parse it into an AST. For example, if we want to find the function call `"_.reduce()"` then we parse that string into an AST that looks something like this:
4646

47-
```lang=json
47+
```
4848
{
4949
"type": "ExpressionStatement",
5050
"expression": {

0 commit comments

Comments
 (0)