Skip to content

Commit c1e4dbe

Browse files
coliffarv
authored andcommitted
Update RECIPES.md (#1291)
Fix links to HTTPS to prevent redirects Fix hierachical typo
1 parent 3506ef2 commit c1e4dbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/RECIPES.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ names with the parent object. Here's an example:
9898

9999
```js
100100
/**
101-
* This method has hierachical params
101+
* This method has hierarchical params
102102
* @param {Object} animals different kinds of animals
103103
* @param {String} animals.fishes number of kinds of fish
104104
*/
@@ -113,8 +113,8 @@ explicit syntax is required.
113113

114114
## Object Factories
115115

116-
Libraries like [d3](http://d3js.org/) eschew JavaScript's `new` operator
117-
in favor of the ['object factory' or 'module pattern'](http://www.macwright.org/2012/06/04/the-module-pattern.html).
116+
Libraries like [d3](https://d3js.org) eschew JavaScript's `new` operator
117+
in favor of the ['object factory' or 'module pattern'](https://macwright.org/2012/06/04/the-module-pattern.html).
118118

119119
The factory function is a normal function that yields an object. That object
120120
has properties. In this case, we don't use the `@class` tag because

0 commit comments

Comments
 (0)